]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
drop rcsid stuff; not functional with git
authorElan Ruusamäe <glen@delfi.ee>
Thu, 26 Dec 2013 14:55:18 +0000 (16:55 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 26 Dec 2013 14:55:18 +0000 (16:55 +0200)
19 files changed:
geninitrd
mod-blkid.sh
mod-bootsplash.sh
mod-condecor.sh
mod-dmraid.sh
mod-fbsplash.sh
mod-ide.sh
mod-luks.sh
mod-lvm.sh
mod-md.sh
mod-multipath.sh
mod-nfs.sh
mod-sata.sh
mod-scsi.sh
mod-suspend.sh
mod-tuxonice.sh
mod-udev.sh
mod-usbkbd.sh
mod-uvesafb.sh

index c26cbcc6fae4286dbe430a4456293169f76ae489..71b2d510ec96243d777a4698f4b2f706b3b8f949 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -7,8 +7,7 @@
 # based on mkinitrd from RedHat Linux
 #
 
-GENINITRD_RCSID='$Revision$ $Date::                            $'
-R=${GENINITRD_RCSID#* *}; VERSION=${R%% *}
+VERSION='devel'
 PROGRAM=${0##*/}
 
 . /etc/rc.d/init.d/functions
@@ -136,11 +135,10 @@ geninitrd_load_mods() {
 
 # setup geninitrd modules
 geninitrd_setup_mods() {
-       local mod rcsid
+       local mod
 
        for mod in $GENINITRD_MODS; do
-               eval rcsid=$(echo \$$mod | LC_ALL=C tr '[a-z]' '[A-Z]')_RCSID
-               debug "# $rcsid (mod-$mod)"
+               debug "# $mod"
 
                # some mods want init
                if type setup_mod_$mod > /dev/null; then
@@ -821,7 +819,7 @@ initrd_gen_devices() {
 initrd_gen_setrootdev() {
        verbose "Adding rootfs finding based on kernel cmdline root= option support."
        busybox_applet ls
-       debug "Current /proc/partitions:\n$(sed -e 's,^,> ,' /proc/partitions)"
+       debug "Current /proc/partitions:\n$(sed -e 's,^,| ,' /proc/partitions)"
        add_linuxrc <<-'EOF'
                if [ "${ROOT##/dev/}" != "${ROOT}" ]; then
                        rootnr="$(busybox awk -v rootnode="${ROOT##/dev/}" '$4 == rootnode { print 256 * $1 + $2 }' /proc/partitions)"
@@ -1281,7 +1279,7 @@ initrd_dir=/usr/$_lib/initrd
 kernel_version=$(echo "$kernel" | awk -F. '{gsub(/[_-].*/, "", $0); print sprintf("%03d%03d",$1,$2)}')
 kernel_version_long=$(echo "$kernel" | awk -F. '{gsub(/[_-].*/, "", $0); print sprintf("%03d%03d%03d",$1,$2,$3)}')
 
-verbose "# $GENINITRD_RCSID (geninitrd)"
+verbose "# geninitrd $VERSION"
 debug "Using _lib: $_lib"
 debug "Using initrd_dir: $initrd_dir"
 
@@ -1433,9 +1431,8 @@ ln -s busybox $DESTDIR/bin/initrd-busybox
 
 add_linuxrc <<EOF
 #!/bin/sh
-# initrd generated
+# initrd generated by geninitrd/$VERSION
 # on $(LC_ALL=C date)
-# by $GENINITRD_RCSID
 
 EOF
 mount_proc
@@ -1590,7 +1587,7 @@ fi
 initrd_gen_fbsplash
 initrd_gen_fbcondecor
 
-debug "Current /linuxrc:\n$(sed -e 's,^,> ,' $DESTDIR/linuxrc)"
+debug "Current /linuxrc:\n$(sed -e 's,^,| ,' $DESTDIR/linuxrc)"
 
 IMAGE=$(mktemp -t initrd.img-XXXXXX) || die "mktemp failed"
 
index 2d679748ace4e504eef579d129840564696ec554..8ee2a48f073b8c790920cacd0efc4cc70b2739bf 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-BLKID_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: blkid
 USE_BLKID=${USE_BLKID:-yes}
 
index 338d7492f5a7a467783030fca777481877830d5e..98f9591966d70e2e216daa0bcbf0808bc60cb7e5 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-BOOTSPLASH_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: bootsplash
 BOOT_SPLASH=${BOOT_SPLASH:-no}
 
index dc0cca12a8756b7ba1af9ce4b4bc30b4be674b5c..ca8ae0abb054ef2ea36147ebc7ce9202d9ba48d9 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-CONDECOR_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: condecor
 FB_CON_DECOR=${FB_CON_DECOR:-no}
 
index 853e9580ac99058c96bb96519fdb9a7740a4beea..2663a5b2683c1d62a16c7de3a9d34a8e29a7b892 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-DMRAID_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: dmraid
 USE_DMRAID=${USE_DMRAID:-yes}
 
index 8cd162fb334eb6612ab34c9c79f9667a92cfe247..20083be077427d8a12ca230c3ea16e67051da9cf 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-FBSPLASH_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: fbsplash
 FB_SPLASH=${FB_SPLASH:-no}
 
index d3ab2f94d0c08f6d8742d28f1518985e3d8768ca..6742a5849a36837bc70f0ebb3b78c0562a2c1a72 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-IDE_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: ide
 
 PREIDEMODS="-ide-core unknown -ide-detect -ide-disk -ide-gd_mod"
index 8cee34f6c66dd0b3b1750b701ab18684c718f2a3..268b63572649b38d682f85cc537b6631d1b326f9 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-LUKS_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: cryptsetup luks
 USE_LUKS=${USE_LUKS:-yes}
 
index 72a2e71eb9c09a0f04eaec6178d846790ca66579..a0bdf80168e6cb0a0c3521e0399de93069f10637 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-LVM_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: LVM
 USE_LVM=${USE_LVM:-yes}
 
index 75993872abdb4fc31be6ad39a7b8505e1297f70d..3e63afc00a20f2757a6700fdd2fa701ab7fd8f09 100644 (file)
--- a/mod-md.sh
+++ b/mod-md.sh
@@ -1,6 +1,4 @@
 #!/bin/sh
-MD_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: mdadm
 USE_MD=${USE_MD:-yes}
 
index 926e6aec117451d0f14f01d51024b3d5ae72230f..f918dd5434056e2a8ef290d318ba7e2ea45a883b 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-MULTIPATH_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: dm-multipath
 USE_MULTIPATH=${USE_MULTIPATH:-yes}
 
index 4fddd9929cdd29796205337b70ca07fe91b18ff2..8158ece749079f0965c648755ec5bd8258b35257 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-NFS_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: nfs
 
 # if we should init NFS at boot
index 7cbff992553bbf32cc2fa5ba40f7dd975ba97a65..cf8af5f4af4fc46f9457b1252bf9c3b9b99fcaf2 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-SATA_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: sata
 
 find_modules_sata() {
index 3f216e69691dec1677f6ee647869f16316a70d09..12724efe22be017b9a8fc8e29375783f06ae8a84 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-SCSI_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: scsi
 
 # it should be safe to remove scsi_mod from here, but I'm not sure...
index 58ca3906f2cc64aa8fdc03e95306313d62285fea..48efd5734a74fe6531ab5a3a13c246e704b3fa83 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-SUSPEND_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: suspend
 USE_SUSPEND=${USE_SUSPEND:-yes}
 
index f8d9d8057b61863a3768a3401d9654f76cede3d8..9783411d4c71d06dec7cd46daeb8ae49adf55c77 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-TUXONICE_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: tuxonice
 USE_TUXONICE=${USE_TUXONICE:-no}
 
index e370d625003281310d6b8aa797c4edb4837337f0..dbb7c530ee3caa67a6b7e8de3a67bf6831a94c9e 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-UDEV_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: udev
 USE_UDEV=${USE_UDEV:-yes}
 
index 932a583991c8a5cf9e124680b1080bdb4cc8cd71..0dd0d20f0692b4a0b4d37888cb642c1100f1a51b 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-USBKBD_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: usbkbd
 
 find_modules_usbkbd() {
index 0b855d0ef82d9a7c2646821fcad296356908fc74..df67948697b67397af8799245adaa957f9bd0507 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-UVESAFB_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: uvesafb
 USE_V86D=${USE_V86D:-yes}
 
This page took 0.259841 seconds and 4 git commands to generate.