SVN: geninitrd/trunk: geninitrd mod-md.sh

glen glen at pld-linux.org
Mon Apr 27 11:31:56 CEST 2009


Author: glen
Date: Mon Apr 27 11:31:55 2009
New Revision: 10335

Modified:
   geninitrd/trunk/geninitrd
   geninitrd/trunk/mod-md.sh
Log:
- drop USERAIDSTART (autodetected)

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Mon Apr 27 11:31:55 2009
@@ -49,7 +49,6 @@
 	echo "       [--with=<module>] [--image-version] [--fstab=<fstab>] [--nocompress]"
 	echo "       [--compress=yes|lzma|bzip2|gzip]"
 	echo "       [--initrdfs=rom|initramfs|ext2|cram] [--modules-conf=<modules.conf>]"
-	echo "       [--with-raidstart] [--without-raidstart]"
 	echo "       [--with-bootsplash] [--without-bootsplash]"
 	echo "       [--with-fbsplash] [--without-fbsplash]"
 	echo "       [--with-fbcondecor] [--without-fbcondecor]"
@@ -838,12 +837,6 @@
 		modulefile=$2
 		shift
 		;;
-	--use-raidstart|--with-raidstart)
-		USERAIDSTART=yes
-		;;
-	--without-raidstart)
-		USERAIDSTART=no
-		;;
 	--with-bootsplash)
 		BOOT_SPLASH=yes
 		;;
@@ -1222,7 +1215,7 @@
 
 if is_yes "$have_nfs"; then
 	initrd_gen_nfs
-elif is_yes "$USERAIDSTART" && is_yes "$have_md"; then
+elif is_yes "$have_md"; then
 	initrd_gen_md
 	if is_yes "$have_lvm"; then
 		initrd_gen_lvm

Modified: geninitrd/trunk/mod-md.sh
==============================================================================
--- geninitrd/trunk/mod-md.sh	(original)
+++ geninitrd/trunk/mod-md.sh	Mon Apr 27 11:31:55 2009
@@ -5,9 +5,6 @@
 # if we should init md (softraid) at boot
 have_md=no
 
-# XXX wtf is this for?
-USERAIDSTART=yes
-
 # setup geninitrd module
 # @access	public
 setup_mod_md() {


More information about the pld-cvs-commit mailing list