aboutsummaryrefslogtreecommitdiffstats
path: root/LFS/master.sh
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-04-16 12:12:50 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-04-16 12:12:50 +0000
commitccdacf32aa73e49ffdd4e3adc08f2ad71e9af6d1 (patch)
treef447409d7a6399f498bc10bb3320ba0210a7b4cc /LFS/master.sh
parent3135831c4066bcc34fffd1f6d81c1fa07493ada3 (diff)
Fixed Module-Init-Tools reinstallation.
Diffstat (limited to 'LFS/master.sh')
-rwxr-xr-xLFS/master.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/LFS/master.sh b/LFS/master.sh
index 66f6c9fc04..67675307b8 100755
--- a/LFS/master.sh
+++ b/LFS/master.sh
@@ -161,6 +161,8 @@ chapter6_Makefiles() {
done
# Remove Bzip2 binaries before make install
sed -e 's@make install@rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2
+ # Remove Module-Init-Tools binaries before make install
+ sed -e 's@make install@rm -vf /sbin/{insmod,modprobe,rmmod,depmod}\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
# Let some Udev pre-installation commands to fail