From 972467ee6b604aec2570733374e30ff03bd6ef4f Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 16 Apr 2006 16:11:29 +0000 Subject: [PATCH] Changed how Readline reistallation is fixed. --- LFS/master.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/LFS/master.sh b/LFS/master.sh index 600c59c..c04f92e 100755 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -163,8 +163,9 @@ chapter6_Makefiles() { sed -e 's@make install@rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2 # Tell Module-Init-Tools that we are reinstalling it sed -e 's@make install@make moveold\n&@' -i chapter06$N/*-module-init-tools - # Remove some Readline libraries and symlinks before make install - sed -e 's@make install@rm -vf /lib/lib{history,readline}.so.5*\n&@' -i chapter06$N/*-readline + # Relink some Readline libraries after make install + sed -e 's@make install@&\nln -sfv libreadline.so.5.1 /lib/libreadline.so.5@' \ + -e 's@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