[readonly/geninitrd: 438/1068] - debug remove
draenog
draenog at pld-linux.org
Sat Nov 2 19:49:11 CET 2013
commit e5d70e77527fb5d3a97e068fbe8c5d9a0912fec6
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Thu Oct 11 15:18:13 2007 +0000
- debug remove
svn-id: @8810
geninitrd | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 8dab2e9..830b503 100755
--- a/geninitrd
+++ b/geninitrd
@@ -547,7 +547,6 @@ find_modules_for() {
# XXX probably should detect
findmodule "dm-mirror"
- set +x
elif is_yes "`echo "$devpath" | awk '/\/dev\/rd\// { print "yes"; }'`" ; then
findmodule "DAC960"
elif is_yes "`echo "$devpath" | awk '/\/dev\/ida\// { print "yes"; }'`" ; then
@@ -1415,7 +1414,6 @@ initrd_gen_procdata() {
debug "Adding rootfs finding based on root= option support."
mkdir -p $MNTIMAGE/proc
cat << 'EOF' >> "$s"
-set +x
mount -t proc none /proc
root="$(busybox awk ' /root=\/dev\// { gsub(/.*root=\/dev\//,NIL,$0); gsub(/ .*/,NIL,$0); print $0; } ' /proc/cmdline)"
if [ -n "$root" ]; then
@@ -1478,7 +1476,6 @@ if [ "$INITRDFS" = "initramfs" ]; then
# Parsing root parameter
# We support passing root as hda3 /dev/hda3 0303 0x0303 and 303
cat << 'EOF' >> "$s"
-set +x
mount -t proc none /proc
CMDLINE="$(busybox cat /proc/cmdline)"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090
More information about the pld-cvs-commit
mailing list