SVN: geninitrd/trunk/geninitrd
shadzik
shadzik at pld-linux.org
Wed Oct 20 22:53:38 CEST 2010
Author: shadzik
Date: Wed Oct 20 22:53:38 2010
New Revision: 11866
Modified:
geninitrd/trunk/geninitrd
Log:
- show examples for all available kernels
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Wed Oct 20 22:53:38 2010
@@ -61,7 +61,9 @@
echo " <initrd-image> <kernel-version>"
echo ""
echo "example:"
- echo " $PROGRAM -f --initrdfs=rom /boot/initrd-$uname_r.gz $uname_r"
+ for kernel_ver in $(ls -1 /lib/modules); do
+ echo " $PROGRAM -f --initrdfs=rom /boot/initrd-$kernel_ver.gz $kernel_ver"
+ done
exit 0
}
@@ -1121,8 +1123,8 @@
find_modules_scsi
fi
-# autodetect XATA modules
-# autodetect_xata
+# autodetect SATA modules
+find_modules_sata
# XXX: where ADDIDE cames from? drop?
if is_yes "$ADDIDE"; then
More information about the pld-cvs-commit
mailing list