Compare commits
2 Commits
c30da6a5ff
...
36429459e1
| Author | SHA1 | Date | |
|---|---|---|---|
| 36429459e1 | |||
| 5bce7dfab3 |
@@ -76,11 +76,23 @@ if [ -f /mnt/gentoo/etc/udev/hwdb.bin ]; then
|
|||||||
mv /mnt/gentoo/etc/udev/hwdb.bin /mnt/gentoo/usr/lib/udev/
|
mv /mnt/gentoo/etc/udev/hwdb.bin /mnt/gentoo/usr/lib/udev/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
gccver=$(qlist -I -F '%{PV}' cross-${target}/gcc | sed 's/[^0-9].*//')
|
||||||
|
for lib in \
|
||||||
|
libstdc++ \
|
||||||
|
libgcc_s \
|
||||||
|
; do
|
||||||
|
cp /usr/lib/gcc/${target}/${gccver}/${lib}.so.* /mnt/gentoo/usr/lib64/
|
||||||
|
done
|
||||||
|
|
||||||
qemu-${target%%-*} \
|
qemu-${target%%-*} \
|
||||||
/mnt/gentoo/usr/sbin/ldconfig \
|
/mnt/gentoo/usr/sbin/ldconfig \
|
||||||
-r /mnt/gentoo \
|
-r /mnt/gentoo \
|
||||||
-f /mnt/gentoo/etc/ld.so.conf
|
-f /mnt/gentoo/etc/ld.so.conf
|
||||||
|
|
||||||
|
if [ -d /mnt/gentoo/lib64/security ]; then
|
||||||
|
mv /mnt/gentoo/lib64/security/pam_*.so /mnt/gentoo/lib/security/
|
||||||
|
fi
|
||||||
|
|
||||||
rm -f /mnt/gentoo/lib/tmpfiles.d/provision.conf
|
rm -f /mnt/gentoo/lib/tmpfiles.d/provision.conf
|
||||||
systemd-tmpfiles --root=/mnt/gentoo -E --exclude-prefix=/var --create
|
systemd-tmpfiles --root=/mnt/gentoo -E --exclude-prefix=/var --create
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user