From 2f344c40e4ee5add782a4062310446d99b0bed73 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Wed, 2 Aug 2023 10:47:38 +0200 Subject: [PATCH] use sysvinit --- recipes-diya/initramfs/files/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-diya/initramfs/files/init b/recipes-diya/initramfs/files/init index 905aaad..cea5056 100755 --- a/recipes-diya/initramfs/files/init +++ b/recipes-diya/initramfs/files/init @@ -103,8 +103,8 @@ else fatal "ERROR: /dev doesn't exist and kernel doesn't has devtmpfs enabled." fi fi - -exec /sbin/init +# run init in single user mode +exec /sbin/init -s # Catch all fatal "ERROR: Initramfs failed to initialize the system."