diff options
-rw-r--r-- | functions | 3 | ||||
-rwxr-xr-x | mkinitcpio | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -658,6 +658,9 @@ initialize_buildroot() { # indicate that this is an initramfs >"$workdir/root/etc/initrd-release" + # add a blank ld.so.conf to keep ldconfig happy + >"$workdir/root/etc/ld.so.conf" + printf '%s' "$workdir" } @@ -482,6 +482,9 @@ set +o functrace set +o errtrace trap -- ERR +# this is simply a nice-to-have -- it doesn't matter if it fails. +ldconfig -r "$BUILDROOT" &>/dev/null + if [[ $_optgenimg ]]; then build_image "$_optgenimg" "$_optcompress" else |