gcc/libgcc-common.inc: Add missing 'fakeroot' to two tasks
PATCH 1/1 gcc/libgcc-common.inc: Add missing 'fakeroot' to two tasks
Without the fakeroot flag the two tasks may create files or symbolic links that end up being owned by the user and not root:root as expected.
Signed-off-by Mark Hatle <[email protected]>
--- meta/recipes-devtools/gcc/libgcc-common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/gcc/libgcc-common.inc +2 -2
@@ -52,7 +52,7 @@ addtask multilib_install after do_install before do_package do_populate_sysroot # by creating this symlink to it # /usr/lib64/x86_64-poky-linux/4.7/32 -python do_multilib_install() { +fakeroot python do_multilib_install() { import re multilibs = d.getVar('MULTILIB_VARIANTS', True)
@@ -115,7 +115,7 @@ python do_multilib_install() { } addtask extra_symlinks after do_multilib_install before do_package do_populate_sysroot -python do_extra_symlinks() { +fakeroot python do_extra_symlinks() { targetsysnoext = d.getVar('TARGET_SYS_NO_EXTENSION', True) if targetsysnoext != d.getVar('TARGET_SYS', True):
Signature · 1 line
1.9.3