diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-05 22:13:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-11 12:02:29 +0100 |
commit | d3865958fa1f0403cafae11b32ce356589a35260 (patch) | |
tree | 7bfec3ab986c86b667895c98838e983540919af8 /scripts/lib/devtool/sdk.py | |
parent | cc40e858d264e82bdac9a77f00ef03122f81402f (diff) | |
download | poky-d3865958fa1f0403cafae11b32ce356589a35260.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.
(From OE-Core rev: f2c5f666140df29d97e2b1539e727d3609e9e4d2)
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 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions