diff options
Diffstat (limited to 'meta/recipes-core')
-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 a8806aa3af..e712ff03c6 100755 --- a/meta/recipes-core/initrdscripts/initramfs-framework/finish +++ b/meta/recipes-core/initrdscripts/initramfs-framework/finish | |||
@@ -53,7 +53,7 @@ finish_run() { | |||
53 | mount --move /sys $ROOTFS_DIR/sys | 53 | mount --move /sys $ROOTFS_DIR/sys |
54 | 54 | ||
55 | cd $ROOTFS_DIR | 55 | cd $ROOTFS_DIR |
56 | exec switch_root -c /dev/console $ROOTFS_DIR /sbin/init | 56 | exec switch_root -c /dev/console $ROOTFS_DIR ${bootparam_init:-/sbin/init} |
57 | else | 57 | else |
58 | debug "No rootfs has been set" | 58 | debug "No rootfs has been set" |
59 | fi | 59 | fi |