SVN: geninitrd/trunk/geninitrd

glen glen at pld-linux.org
Tue Oct 23 17:08:55 CEST 2007


Author: glen
Date: Tue Oct 23 17:08:55 2007
New Revision: 8840

Modified:
   geninitrd/trunk/geninitrd
Log:
- kill excess quoting

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Tue Oct 23 17:08:55 2007
@@ -642,7 +642,7 @@
 	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 @@
 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 @@
 	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 @@
 		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)


More information about the pld-cvs-commit mailing list