Author: arekm
Date: Wed Nov 7 13:08:51 2007
New Revision: 9010
Modified:
geninitrd/trunk/geninitrd
Log:
Mention where root= option is to be found.
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Wed Nov 7 13:08:51 2007
@@ -1355,7 +1355,7 @@
}
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit