]> git.pld-linux.org Git - packages/geninitrd.git/commitdiff
Fix inst usage.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 9 Jul 2007 07:30:23 +0000 (07:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    geninitrd-inst.patch -> 1.1

geninitrd-inst.patch [new file with mode: 0644]

diff --git a/geninitrd-inst.patch b/geninitrd-inst.patch
new file mode 100644 (file)
index 0000000..483df25
--- /dev/null
@@ -0,0 +1,23 @@
+Index: geninitrd
+===================================================================
+--- geninitrd  (wersja 8652)
++++ geninitrd  (kopia robocza)
+@@ -258,7 +258,7 @@
+ inst() {
+       if [ "$#" != "2" ];then
+-              echo "usage: inst <file> <destination>"
++              echo >&2 "usage: inst <file> <destination>"
+               return
+       fi
+       debug "$1 -> $2"
+@@ -1072,7 +1072,8 @@
+       mkdir -p $MNTIMAGE/etc
+       mkdir -p $MNTIMAGE/dev
+       resume_dev="$(awk '/^resume device =/ { print $4 } ' /etc/suspend.conf)"
+-      inst /dev/snapshot $resume_dev $MNTIMAGE/dev
++      inst /dev/snapshot $MNTIMAGE/dev
++      inst $resume_dev $MNTIMAGE/dev
+       inst /etc/suspend.conf $MNTIMAGE/etc/suspend.conf
+       inst /usr/sbin/resume "$MNTIMAGE/bin/resume"
+       echo "resume" >> "$s"
This page took 0.039744 seconds and 4 git commands to generate.