[readonly/geninitrd: 522/1068] Mention where root= option is to be found.
draenog
draenog at pld-linux.org
Sat Nov 2 19:56:17 CET 2013
commit 5a761721cdb5f2cb7da008ac8e5cad59b45cd2bc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Nov 7 12:08:51 2007 +0000
Mention where root= option is to be found.
svn-id: @9010
geninitrd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index d1fe452..ad1cbf1 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1355,7 +1355,7 @@ initrd_gen_lvm() {
}
initrd_gen_procdata() {
- debug "Adding rootfs finding based on root= option support."
+ debug "Adding rootfs finding based on kernel cmdline root= option support."
add_linuxrc <<-'EOF'
root="$(busybox awk ' /root=\/dev\// { gsub(/.*root=\/dev\//,NIL,$0); gsub(/ .*/,NIL,$0); print $0; } ' /proc/cmdline)"
if [ -n "$root" ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090
More information about the pld-cvs-commit
mailing list