r2564 - jhalfs/branches/experimental/LFS

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sun Apr 16 09:11:30 PDT 2006


Author: manuel
Date: 2006-04-16 10:11:29 -0600 (Sun, 16 Apr 2006)
New Revision: 2564

Modified:
   jhalfs/branches/experimental/LFS/master.sh
Log:
Changed how Readline reistallation is fixed.

Modified: jhalfs/branches/experimental/LFS/master.sh
===================================================================
--- jhalfs/branches/experimental/LFS/master.sh	2006-04-16 12:29:11 UTC (rev 2563)
+++ jhalfs/branches/experimental/LFS/master.sh	2006-04-16 16:11:29 UTC (rev 2564)
@@ -163,8 +163,9 @@
     sed -e 's at make install at rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2
     # Tell Module-Init-Tools that we are reinstalling it
     sed -e 's at make install at make moveold\n&@' -i chapter06$N/*-module-init-tools
-    # Remove some Readline libraries and symlinks before make install
-    sed -e 's at make install at rm -vf /lib/lib{history,readline}.so.5*\n&@' -i chapter06$N/*-readline
+    # Relink some Readline libraries after make install
+    sed -e 's at make install@&\nln -sfv libreadline.so.5.1 /lib/libreadline.so.5@' \
+        -e 's at make install@&\nln -sfv libhistory.so.5.1 /lib/libhistory.so.5@' -i chapter06$N/*-readline
     # Let some Udev pre-installation commands to fail
     sed -e 's@/lib/udev/devices/fd@& || true@' \
         -e 's/mknod -m.*/& || true/' -i chapter06$N/*-udev




More information about the alfs-log mailing list