diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-06-24 13:26:11 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-28 13:46:57 +0100 |
commit | db99a65b3e93dfacc27ea821c788f15b5de3a497 (patch) | |
tree | 7c0ff600b56645477311b958a8cc13c8bb8b7062 /meta | |
parent | 2e3727b05ae58aaf1eed88967c13cae085e7a702 (diff) | |
download | openembedded-core-db99a65b3e93dfacc27ea821c788f15b5de3a497.tar.gz openembedded-core-db99a65b3e93dfacc27ea821c788f15b5de3a497.tar.bz2 openembedded-core-db99a65b3e93dfacc27ea821c788f15b5de3a497.tar.xz openembedded-core-db99a65b3e93dfacc27ea821c788f15b5de3a497.zip |
gcc: Fix file ownership
Most of the files that end up in the gcc include dir and other
misc files scattered throughout the install get the build users
uid and gid.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-runtime.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-package-sdk.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-package-target.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc_4.5.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc_4.6.bb | 2 |
5 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc index 339a3c8a7..34bfaeb96 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc @@ -37,6 +37,7 @@ do_install () { cd ${B}/$d/ oe_runmake 'DESTDIR=${D}' install done + chown -R root:root ${D} } INHIBIT_DEFAULT_DEPS = "1" diff --git a/meta/recipes-devtools/gcc/gcc-package-sdk.inc b/meta/recipes-devtools/gcc/gcc-package-sdk.inc index 23b9a48eb..7db7c52ef 100644 --- a/meta/recipes-devtools/gcc/gcc-package-sdk.inc +++ b/meta/recipes-devtools/gcc/gcc-package-sdk.inc @@ -48,5 +48,7 @@ do_install () { for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do ln -sf ${bindir}/${TARGET_PREFIX}$t $dest$t done + + chown -R root:root ${D} } diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc index afbcf0d2a..43e2bd5db 100644 --- a/meta/recipes-devtools/gcc/gcc-package-target.inc +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc @@ -101,4 +101,6 @@ do_install () { ln -sf g++ c++ ln -sf gcc cc ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${bindir}/cpp + + chown -R root:root ${D} } diff --git a/meta/recipes-devtools/gcc/libgcc_4.5.1.bb b/meta/recipes-devtools/gcc/libgcc_4.5.1.bb index b6cf2685e..b0523c78a 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.5.1.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.5.1.bb @@ -36,6 +36,8 @@ do_install () { else mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true fi + + chown -R root:root ${D} } do_package_write_ipk[depends] += "virtual/libc:do_package" diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes-devtools/gcc/libgcc_4.6.bb index b6cf2685e..b0523c78a 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.6.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb @@ -36,6 +36,8 @@ do_install () { else mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true fi + + chown -R root:root ${D} } do_package_write_ipk[depends] += "virtual/libc:do_package" |