Changed how the Module-Init-Tools reinstallation is fixed.
This commit is contained in:
parent
ccdacf32aa
commit
31d12a2784
1 changed files with 2 additions and 2 deletions
|
@ -161,8 +161,8 @@ chapter6_Makefiles() {
|
||||||
done
|
done
|
||||||
# Remove Bzip2 binaries before make install
|
# Remove Bzip2 binaries before make install
|
||||||
sed -e 's@make install@rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2
|
sed -e 's@make install@rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2
|
||||||
# Remove Module-Init-Tools binaries before make install
|
# Tell Module-Init-Tools that we are reinstalling it
|
||||||
sed -e 's@make install@rm -vf /sbin/{insmod,modprobe,rmmod,depmod}\n&@' -i chapter06$N/*-module-init-tools
|
sed -e 's@make install@make moveold\n&@' -i chapter06$N/*-module-init-tools
|
||||||
# Remove some Readline libraries and symlinks before make install
|
# 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
|
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
|
# Let some Udev pre-installation commands to fail
|
||||||
|
|
Reference in a new issue