diff options
-rwxr-xr-x | meta/recipes-core/initrdscripts/initramfs-framework/finish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/finish b/meta/recipes-core/initrdscripts/initramfs-framework/finish index ac0de9f996..716c2f44af 100755 --- a/meta/recipes-core/initrdscripts/initramfs-framework/finish +++ b/meta/recipes-core/initrdscripts/initramfs-framework/finish | |||
@@ -41,7 +41,7 @@ finish_run() { | |||
41 | mount --move /sys $ROOTFS_DIR/sys | 41 | mount --move /sys $ROOTFS_DIR/sys |
42 | 42 | ||
43 | cd $ROOTFS_DIR | 43 | cd $ROOTFS_DIR |
44 | exec switch_root -c /dev/console $ROOTFS_DIR ${bootparam_init:-/sbin/init} | 44 | exec switch_root $ROOTFS_DIR ${bootparam_init:-/sbin/init} |
45 | else | 45 | else |
46 | debug "No rootfs has been set" | 46 | debug "No rootfs has been set" |
47 | fi | 47 | fi |