From da64f49bd6beffda6e1a1ef049b0dd47a95e91e0 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 10 Dec 2024 16:56:12 -0600 Subject: [PATCH] build-rootfs: Run ldconfig Need to update the loader search path in the final root filesystem. --- build-rootfs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-rootfs.sh b/build-rootfs.sh index 711a7ea..4f5a5b3 100755 --- a/build-rootfs.sh +++ b/build-rootfs.sh @@ -76,6 +76,8 @@ 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 + rm -f /mnt/gentoo/lib/tmpfiles.d/provision.conf systemd-tmpfiles --root=/mnt/gentoo -E --exclude-prefix=/var --create