From 54dd5c56fc76390bcc02b4d91eec2d8c45b7ae77 Mon Sep 17 00:00:00 2001 From: Johannes Schneider Date: Tue, 2 Aug 2022 11:40:19 +0200 Subject: classes: rootfs-postcommands: autologin root on serial-getty when empty-root-password AND serial-autologin-root are part of the IMAGE_FEATURES, save some of the developers time by not having to type the (then still sole) 'root' username on the serial console after each and every reboot this is done by inserting '--autologin root' into the command line of the responsible 'getty' service (From OE-Core rev: 01b3cb46405f814e27cab5290118211786cd63a0) Signed-off-by: Johannes Schneider Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- meta/classes-recipe/core-image.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes-recipe/core-image.bbclass') diff --git a/meta/classes-recipe/core-image.bbclass b/meta/classes-recipe/core-image.bbclass index 7ef7d07390..4b5f2c99c4 100644 --- a/meta/classes-recipe/core-image.bbclass +++ b/meta/classes-recipe/core-image.bbclass @@ -31,6 +31,7 @@ # - allow-empty-password # - allow-root-login # - post-install-logging +# - serial-autologin-root - with 'empty-root-password': autologin 'root' on the serial console # - dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs # - dbg-pkgs - debug symbol packages for all installed packages in the rootfs # - lic-pkgs - license packages for all installed pacakges in the rootfs, requires -- cgit v1.2.3-54-g00ecf