summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/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/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/image.bbclass')
-rw-r--r--meta/classes-recipe/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/image.bbclass b/meta/classes-recipe/image.bbclass
index 433172378a..e387645503 100644
--- a/meta/classes-recipe/image.bbclass
+++ b/meta/classes-recipe/image.bbclass
@@ -39,7 +39,7 @@ INHIBIT_DEFAULT_DEPS = "1"
39# IMAGE_FEATURES may contain any available package group 39# IMAGE_FEATURES may contain any available package group
40IMAGE_FEATURES ?= "" 40IMAGE_FEATURES ?= ""
41IMAGE_FEATURES[type] = "list" 41IMAGE_FEATURES[type] = "list"
42IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs read-only-rootfs-delayed-postinsts stateless-rootfs empty-root-password allow-empty-password allow-root-login post-install-logging overlayfs-etc" 42IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs read-only-rootfs-delayed-postinsts stateless-rootfs empty-root-password allow-empty-password allow-root-login serial-autologin-root post-install-logging overlayfs-etc"
43 43
44# Generate companion debugfs? 44# Generate companion debugfs?
45IMAGE_GEN_DEBUGFS ?= "0" 45IMAGE_GEN_DEBUGFS ?= "0"