diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-05 22:13:10 +0100 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-05-07 08:50:53 +0800 |
commit | f2c5f666140df29d97e2b1539e727d3609e9e4d2 (patch) | |
tree | 487101d5bb3a596c2f470820012393fa309d0992 /meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb | |
parent | 73edf1b88f0997f7368bfdb59d3076f085c5da4e (diff) | |
download | openembedded-core-contrib-f2c5f666140df29d97e2b1539e727d3609e9e4d2.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>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb')
0 files changed, 0 insertions, 0 deletions