summaryrefslogtreecommitdiff
path: root/source/installer
diff options
context:
space:
mode:
Diffstat (limited to 'source/installer')
-rw-r--r--source/installer/ChangeLog.txt3
-rwxr-xr-xsource/installer/sources/initrd/usr/lib/setup/setup2
2 files changed, 4 insertions, 1 deletions
diff --git a/source/installer/ChangeLog.txt b/source/installer/ChangeLog.txt
index e40e0c17..6f035d8f 100644
--- a/source/installer/ChangeLog.txt
+++ b/source/installer/ChangeLog.txt
@@ -1,3 +1,6 @@
+Thu Apr 22 16:56:28 UTC 2021
+ setup: fix running ldconfig. Thanks to alienBOB and MoZes.
++--------------------------+
Tue Apr 20 18:46:38 UTC 2021
setup: run ldconfig after the packages are installed.
Thanks to average_user.
diff --git a/source/installer/sources/initrd/usr/lib/setup/setup b/source/installer/sources/initrd/usr/lib/setup/setup
index a7734983..520b9dbc 100755
--- a/source/installer/sources/initrd/usr/lib/setup/setup
+++ b/source/installer/sources/initrd/usr/lib/setup/setup
@@ -324,7 +324,7 @@ to choose packages individually." 4 60
fi
# Run ldconfig on the newly installed system:
if [ -x $T_PX/sbin/ldconfig ]; then
- ( chroot $T_PX ; /sbin/ldconfig )
+ $T_PX/sbin/ldconfig -r $T_PX
fi
if [ $MODE = terse ]; then
# Let's pause a moment and then restore the terminal settings