summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/core-image.bbclass
diff options
context:
space:
mode:
authorJohannes Schneider <johannes.schneider@leica-geosystems.com>2022-08-02 11:40:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-12 15:46:49 +0100
commit54dd5c56fc76390bcc02b4d91eec2d8c45b7ae77 (patch)
tree51e935a5ab9330a308e9a7634229eac5b54c1d75 /meta/classes-recipe/core-image.bbclass
parent39197039e90313f66cf9aa1e6631b5678f04325d (diff)
downloadpoky-54dd5c56fc76390bcc02b4d91eec2d8c45b7ae77.tar.gz
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 <johannes.schneider@leica-geosystems.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/core-image.bbclass')
-rw-r--r--meta/classes-recipe/core-image.bbclass1
1 files changed, 1 insertions, 0 deletions
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 @@
31# - allow-empty-password 31# - allow-empty-password
32# - allow-root-login 32# - allow-root-login
33# - post-install-logging 33# - post-install-logging
34# - serial-autologin-root - with 'empty-root-password': autologin 'root' on the serial console
34# - dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs 35# - dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs
35# - dbg-pkgs - debug symbol packages for all installed packages in the rootfs 36# - dbg-pkgs - debug symbol packages for all installed packages in the rootfs
36# - lic-pkgs - license packages for all installed pacakges in the rootfs, requires 37# - lic-pkgs - license packages for all installed pacakges in the rootfs, requires