From: Arkadiusz Miƛkiewicz Date: Tue, 7 Apr 2009 15:59:30 +0000 (+0000) Subject: - pass kernel cmd line args to init (found by baggins) X-Git-Tag: 10000.11~3 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=a667cf79ec1162a5338b1655f0a7b674787b8126;p=projects%2Fgeninitrd.git - pass kernel cmd line args to init (found by baggins) svn-id: @10323 --- diff --git a/geninitrd b/geninitrd index 7ffd5d5..b0ef7cc 100755 --- a/geninitrd +++ b/geninitrd @@ -746,13 +746,13 @@ initrd_gen_initramfs_switchroot() { umount_all busybox_applet switch_root add_linuxrc <<-'EOF' - exec switch_root /newroot $init + exec switch_root /newroot $init $@ 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 $@ echo "Failed to chroot!" EOF