]> code.ossystems Code Review - openembedded-core.git/commit
lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts
authorSteve Sakoman <steve@sakoman.com>
Thu, 6 May 2021 16:10:56 +0000 (06:10 -1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 May 2021 21:10:00 +0000 (22:10 +0100)
commite9c8f43296552b43376d87fb291458731fb7f718
treec33c12be9f115e39d09c195aedde53c702c54e72
parent3c59989b7a09f412704f90480c3726a0cb7df746
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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oe/package_manager.py