Skip to content
Commit 1a03c70c authored by Richard Purdie's avatar Richard Purdie
Browse files

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: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 5c56e72f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment