SVN: geninitrd/trunk/geninitrd
glen
glen at pld-linux.org
Tue Apr 7 18:05:42 CEST 2009
Author: glen
Date: Tue Apr 7 18:05:41 2009
New Revision: 10324
Modified:
geninitrd/trunk/geninitrd
Log:
- just in case quote init args
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Tue Apr 7 18:05:41 2009
@@ -746,13 +746,13 @@
umount_all
busybox_applet switch_root
add_linuxrc <<-'EOF'
- exec switch_root /newroot $init $@
+ exec switch_root /newroot $init ${1:+"$@"}
echo "Error! initramfs should not reach this place."
echo "It probably means you've got old version of busybox, with broken"
echo "initramfs support. Trying to boot anyway, but won't promise anything."
- exec chroot /newroot $init $@
+ exec chroot /newroot $init ${1:+"$@"}
echo "Failed to chroot!"
EOF
More information about the pld-cvs-commit
mailing list