summaryrefslogtreecommitdiffstats
path: root/mkinitcpio
diff options
context:
space:
mode:
Diffstat (limited to 'mkinitcpio')
-rwxr-xr-xmkinitcpio3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 6e03635..0ae6913 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -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