[readonly/geninitrd: 553/1068] - rename initrd_gen_procdata->initrd_gen_setrootdev

draenog draenog at pld-linux.org
Sat Nov 2 19:58:54 CET 2013


commit 4828c787d00baa36bc26156fc00ea29060ac8872
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Jan 28 10:12:17 2008 +0000

    - rename initrd_gen_procdata->initrd_gen_setrootdev
    
    svn-id: @9206

 geninitrd | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 5b6e947..1111d71 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1521,7 +1521,7 @@ initrd_gen_blkid()
 	EOF
 }
 
-initrd_gen_procdata() {
+initrd_gen_setrootdev() {
 	debug "Adding rootfs finding based on kernel cmdline root= option support."
 	add_linuxrc <<-'EOF'
 		if [ "${ROOT##/dev/}" != "${ROOT}" ]; then
@@ -1965,12 +1965,12 @@ elif is_yes "$USERAIDSTART" && is_yes "$have_md"; then
 	if is_yes "$have_lvm"; then
 		initrd_gen_lvm
 	else
-		initrd_gen_procdata
+		initrd_gen_setrootdev
 	fi
 elif is_yes "$have_lvm"; then
 	initrd_gen_lvm
 else
-	initrd_gen_procdata
+	initrd_gen_setrootdev
 fi
 
 # additional devs always needed
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090



More information about the pld-cvs-commit mailing list