wok rev 3586
linux: update /etc/rcS.conf for new in-kernel modules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 27 10:42:32 2009 +0200 (2009-06-27) |
parents | 32255d6b635f |
children | d621346a3d07 |
files | linux/receipt |
line diff
1.1 --- a/linux/receipt Sat Jun 27 01:17:17 2009 +0200 1.2 +++ b/linux/receipt Sat Jun 27 10:42:32 2009 +0200 1.3 @@ -99,6 +99,12 @@ 1.4 { 1.5 echo "Processing post-install commands..." 1.6 chroot "$1/" depmod -a $VERSION-slitaz 1.7 + 1.8 + # Update in-kernel module list 1.9 + for module in ohci-hcd vfat msdos nls_utf8 fat ; do 1.10 + sed -i "s/$module//" $1/etc/rcS.conf 1.11 + done 1.12 + 1.13 if [ -f "$1/boot/grub/menu.lst" ]; then 1.14 if ! grep -q "vmlinuz-$VERSION-slitaz" $1/boot/grub/menu.lst; then 1.15 root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1`