From 683bf8caaf3714439fe9df6c523b1be6aa63d3b5 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sat, 7 May 2011 04:52:11 -0500 Subject: [PATCH] script/makepkg: regenerate ld.so.hints on chroot startup to avoid ldconfig errors during first port build --- script/makepkg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/makepkg b/script/makepkg index f1a4796..c9ea2d9 100755 --- a/script/makepkg +++ b/script/makepkg @@ -90,6 +90,9 @@ chstartup() { # Load port configuration, now that chroot is running port_load_config + # Update ld.so.hints + cheval "/etc/rc.d/ldconfig start" + trap "" exit hup int term kill meh "Chroot up and running in ${chroot_dir}" -- 2.42.0