mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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. (From OE-Core rev: db99a65b3e93dfacc27ea821c788f15b5de3a497) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0496564b64
commit
1d640c9436
@@ -37,6 +37,7 @@ do_install () {
|
||||
cd ${B}/$d/
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
done
|
||||
chown -R root:root ${D}
|
||||
}
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
@@ -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}
|
||||
}
|
||||
|
||||
|
||||
@@ -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}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user