diff --git a/build-rootfs.sh b/build-rootfs.sh index 4f5a5b3..48a565b 100755 --- a/build-rootfs.sh +++ b/build-rootfs.sh @@ -76,7 +76,7 @@ if [ -f /mnt/gentoo/etc/udev/hwdb.bin ]; then mv /mnt/gentoo/etc/udev/hwdb.bin /mnt/gentoo/usr/lib/udev/ fi -ldconfig -r /mnt/gentoo +qemu-${target%%-*} /mnt/gentoo/usr/sbin/ldconfig -r /mnt/gentoo rm -f /mnt/gentoo/lib/tmpfiles.d/provision.conf systemd-tmpfiles --root=/mnt/gentoo -E --exclude-prefix=/var --create