[readonly/geninitrd: 436/1068] - remove dumping linuxrc and lvm.conf

draenog draenog at pld-linux.org
Sat Nov 2 19:49:01 CET 2013


commit 6078d77f95eaebcd2910926502930690f71e8ba7
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Oct 11 15:16:42 2007 +0000

    - remove dumping linuxrc and lvm.conf
    
    svn-id: @8808

 geninitrd | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 1f1f98a..2ec1d3c 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1381,8 +1381,6 @@ initrd_gen_lvm() {
 		lvm dumpconfig | awk '/filter=/' >> "$MNTIMAGE/etc/lvm.conf"
 		echo "}" >> "$MNTIMAGE/etc/lvm.conf"
 
-		[ -n "$verbose2" ] && sed -e 's,^,lvm.conf: | ,' <  "$MNTIMAGE/etc/lvm.conf"
-
 		initrd_gen_devices
 
 		cat <<-EOF >> "$s"
@@ -1546,9 +1544,6 @@ EOF
 	cp -a $MNTIMAGE/linuxrc $MNTIMAGE/init
 fi
 
-# dump linuxrc
-[ -n "$verbose2" ] && sed -e 's,^, linuxrc: | ,' < "$s"
-
 chmod +x "$RCFILE"
 
 (cd "$MNTIMAGE"; tar cf - .) | (cd "$MNTPOINT"; tar xf -)
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list