]> code.ossystems Code Review - openembedded-core.git/commit
lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 May 2021 21:13:10 +0000 (22:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 May 2021 10:15:53 +0000 (11:15 +0100)
commit1a03c70c282b3445b93a4c70ea6d40a1778750c5
tree6df6f971ea17b12c33ac3abd44f001b9805b62b1
parent5c56e72fca18dc942f5c1fd377e98d46ae0126f1
lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts

If the scripts/postinst-intercepts is owned by root/root then the copyfile() calls
will fail due to chown issues. We don't care about ownership of these files so
use shutil.copy() instead which won't perform any chown.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager/__init__.py