From e27a7ba7d7a9d31a42896d316c6ee5562330bdf7 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Tue, 1 Aug 2023 22:41:13 +0200 Subject: [PATCH] use sysvinit --- recipes-core/images/core-image-recovery.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/images/core-image-recovery.bb b/recipes-core/images/core-image-recovery.bb index 9a19077..8399327 100644 --- a/recipes-core/images/core-image-recovery.bb +++ b/recipes-core/images/core-image-recovery.bb @@ -32,6 +32,6 @@ cat << 'EOF' >> "${IMAGE_ROOTFS}/etc/hostname" diyaid EOF # enable autologin - sed -i 's~1:12345:respawn:/sbin/getty root 38400 tty1~1:12345:respawn:/sbin/getty -a root -L tty1 38400 vt100~' \ + sed -i 's#~~:S:wait:/sbin/sulogin#~~:S:wait:/bin/sh#' \ "${IMAGE_ROOTFS}/etc/inittab" } \ No newline at end of file