[readonly/geninitrd: 449/1068] - kill excess quoting
draenog
draenog at pld-linux.org
Sat Nov 2 19:50:07 CET 2013
commit dcc1b914ac1bfaee4c9e33e82ed26a5a4099fa6e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Tue Oct 23 15:08:55 2007 +0000
- kill excess quoting
svn-id: @8840
geninitrd | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 8db8cb1..510f7f5 100755
--- a/geninitrd
+++ b/geninitrd
@@ -642,7 +642,7 @@ EOF
fi
for firmware in $firmware_files; do
- inst "/lib/firmware/$firmware" "/lib/firmware/$firmware"
+ inst /lib/firmware/$firmware /lib/firmware/$firmware
done
echo "mount -t proc none /proc" >> "$linuxrc"
@@ -1049,9 +1049,9 @@ mkdir "$MNTIMAGE/dev/shm"
s="$RCFILE"
ln -s /linuxrc $MNTIMAGE/init
-inst /bin/initrd-busybox "/bin/initrd-busybox"
-ln -s initrd-busybox "/bin/sh"
-ln -s initrd-busybox "/bin/busybox" # for older busyboxes who had /bin/busybox as EXEPATH
+inst /bin/initrd-busybox /bin/initrd-busybox
+ln -s initrd-busybox /bin/sh
+ln -s initrd-busybox /bin/busybox # for older busyboxes who had /bin/busybox as EXEPATH
if is_yes "$USEINSMODSTATIC"; then
inst "$INSMOD" /bin/insmod.static
@@ -1094,7 +1094,7 @@ initrd_gen_suspend() {
inst /dev/snapshot /dev
inst $resume_dev /dev
inst /etc/suspend.conf /etc/suspend.conf
- inst /usr/sbin/resume "/bin/resume"
+ inst /usr/sbin/resume /bin/resume
echo "resume" >> "$s"
}
@@ -1240,7 +1240,7 @@ initrd_gen_softraid() {
die "/sbin/mdadm or /sbin/initrd-mdassemble is missing!"
fi
- inst /sbin/initrd-mdassemble "/bin/mdassemble"
+ inst /sbin/initrd-mdassemble /bin/mdassemble
# LVM on RAID case
dev_list_extra=$(awk '/^DEVICE / { for (i=2; i<=NF; i++) { printf "%s ", $i; }; } ' /etc/mdadm.conf)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090
More information about the pld-cvs-commit
mailing list