Skip to content
Commit f2c5f666 authored by Richard Purdie's avatar Richard Purdie Committed by Anuj Mittal
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>
(cherry picked from commit 1a03c70c)
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent 73edf1b8
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