[projects/geninitrd] include initrd generate date into linuxrc

glen glen at pld-linux.org
Tue Dec 24 00:37:55 CET 2013


commit 8938f33d08f2c934c6552e9f8c37c4d0cc2269d5
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Dec 24 01:30:01 2013 +0200

    include initrd generate date into linuxrc

 geninitrd | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 26e00ac..ff0d958 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1403,8 +1403,9 @@ ln -s busybox $DESTDIR/bin/initrd-busybox
 
 add_linuxrc <<EOF
 #!/bin/sh
-# initrd generated by:
-# $GENINITRD_RCSID
+# initrd generated
+# on $(LC_ALL=C date)
+# by $GENINITRD_RCSID
 
 EOF
 mount_proc
@@ -1435,7 +1436,7 @@ add_linuxrc <<-'EOF'
 	done
 
 	if [ "$DEBUGINITRD" = "sh" ]; then
-		# export some vars for subshell debug to work
+		# export some vars to subshell for debug to work
 		export CMDLINE ROOT ROOTFS ROOTDEV ROOTFSFLAGS DEBUGINITRD INIT
 		export LVM_ROOTVG LVM_SUSPENDVG LVM_VGVOLUMES
 		export rootnr attrs majmin major minor device
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/geninitrd.git/commitdiff/8938f33d08f2c934c6552e9f8c37c4d0cc2269d5



More information about the pld-cvs-commit mailing list