]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
- pass kernel cmd line args to init (found by baggins)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 7 Apr 2009 15:59:30 +0000 (15:59 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 7 Apr 2009 15:59:30 +0000 (15:59 +0000)
svn-id: @10323

geninitrd

index 7ffd5d5c52cd0e9b475abb11fc8213f361d76b1d..b0ef7cc2495393640c0643a02c5bd4c30cf17356 100755 (executable)
--- 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
This page took 0.073517 seconds and 4 git commands to generate.