# HG changeset patch # User Pascal Bellard # Date 1246092152 -7200 # Node ID 41e9401c9123ad7e3556959145941495ce6645b3 # Parent 32255d6b635ffb4da6a40805b385af8ada09e1a5 linux: update /etc/rcS.conf for new in-kernel modules diff -r 32255d6b635f -r 41e9401c9123 linux/receipt --- a/linux/receipt Sat Jun 27 01:17:17 2009 +0200 +++ b/linux/receipt Sat Jun 27 10:42:32 2009 +0200 @@ -99,6 +99,12 @@ { echo "Processing post-install commands..." chroot "$1/" depmod -a $VERSION-slitaz + + # Update in-kernel module list + for module in ohci-hcd vfat msdos nls_utf8 fat ; do + sed -i "s/$module//" $1/etc/rcS.conf + done + if [ -f "$1/boot/grub/menu.lst" ]; then if ! grep -q "vmlinuz-$VERSION-slitaz" $1/boot/grub/menu.lst; then root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1`