[readonly/geninitrd: 501/1068] - leave rcs id for generated linuxrc

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


commit aeb75537a664995f0248802ac8b2e564bb42a39e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Nov 2 18:59:40 2007 +0000

    - leave rcs id for generated linuxrc
    
    svn-id: @8973

 geninitrd | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index b26e0b9..a636f26 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1330,7 +1330,12 @@ if is_yes "$USEINSMODSTATIC"; then
 	inst "$INSMOD" /bin/insmod.static
 fi
 
-echo '#!/bin/sh' | add_linuxrc
+add_linuxrc <<EOF
+#!/bin/sh
+# initrd generated by:
+# $RCSID
+
+EOF
 mount_proc
 add_linuxrc <<-'EOF'
 	export CMDLINE="$(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