diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-06 11:06:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-08 23:53:56 +0100 |
commit | c22f64d16b0801a3bcebda81a6fedcad8fe02ab3 (patch) | |
tree | f4a012ab911b3b316b0f292680b5d011151f5c1c /meta-skeleton | |
parent | d47b7cdc3508343349f3bb3eacb2dc3227dd94d2 (diff) | |
download | openembedded-core-c22f64d16b0801a3bcebda81a6fedcad8fe02ab3.tar.gz |
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>
(cherry picked from commit 1a03c70c282b3445b93a4c70ea6d40a1778750c5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions