summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2015-01-22 18:21:45 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-11 17:40:08 +0000
commit76ba20f9c0009cb2aedc4ce7050e119683df05c4 (patch)
tree87f6b0d96f30f64920136a92ed3204617942d714 /meta
parent82c567748ada3aa0fe5cf4d948c492edbe6deff4 (diff)
downloadpoky-76ba20f9c0009cb2aedc4ce7050e119683df05c4.tar.gz
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. (From OE-Core rev: 7e9fd9d34a540fdfc1243d059d1f13f1d09864d2) (From OE-Core rev: 86bee4a8d187bebe7f82d8ea1069ee610caac151) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gcc/libgcc-common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index 1e1e1c11fd..3101762b02 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
@@ -54,7 +54,7 @@ addtask multilib_install after do_install before do_package do_populate_sysroot
54# by creating this symlink to it 54# by creating this symlink to it
55# /usr/lib64/x86_64-poky-linux/4.7/32 55# /usr/lib64/x86_64-poky-linux/4.7/32
56 56
57python do_multilib_install() { 57fakeroot python do_multilib_install() {
58 import re 58 import re
59 59
60 multilibs = d.getVar('MULTILIB_VARIANTS', True) 60 multilibs = d.getVar('MULTILIB_VARIANTS', True)
@@ -117,7 +117,7 @@ python do_multilib_install() {
117} 117}
118 118
119addtask extra_symlinks after do_multilib_install before do_package do_populate_sysroot 119addtask extra_symlinks after do_multilib_install before do_package do_populate_sysroot
120python do_extra_symlinks() { 120fakeroot python do_extra_symlinks() {
121 targetsysnoext = d.getVar('TARGET_SYS_NO_EXTENSION', True) 121 targetsysnoext = d.getVar('TARGET_SYS_NO_EXTENSION', True)
122 122
123 if targetsysnoext != d.getVar('TARGET_SYS', True): 123 if targetsysnoext != d.getVar('TARGET_SYS', True):