summaryrefslogtreecommitdiffstats
path: root/meta-poky
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-11-05 19:48:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-06 12:18:19 +0000
commit7545dc3af8f7d3aa40a965509cd990ef64f17e51 (patch)
treee90acf2081f655d2f49b1a0b13cc785df7e6d5e3 /meta-poky
parent016d10d9abed748e83816b046936cebba3c6b421 (diff)
downloadpoky-7545dc3af8f7d3aa40a965509cd990ef64f17e51.tar.gz
local.conf.sample: use explicit IMAGE_FEATURES instead of debug-tweaks
debug-tweaks is vague and doesn't give any indication that the root user can login over SSH without a password. This behaviour is incredibly dangerous if used unwittingly, so discourage it by using the underlying features explicitly to spell out exactly what is being done. This is not the complete set of features that debug-tweaks enables, but I don't think we need to enable serial-autologin-root or post-install-logging by default. (From meta-yocto rev: 96d453fd54e10d02a603d40536f0ac22f5da6961) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky')
-rw-r--r--meta-poky/conf/templates/default/local.conf.sample4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-poky/conf/templates/default/local.conf.sample b/meta-poky/conf/templates/default/local.conf.sample
index 72d3566294..cfa77106ab 100644
--- a/meta-poky/conf/templates/default/local.conf.sample
+++ b/meta-poky/conf/templates/default/local.conf.sample
@@ -145,8 +145,8 @@ DISTRO ?= "poky"
145# There are other application targets that can be used here too, see 145# There are other application targets that can be used here too, see
146# meta/classes-recipe/image.bbclass and 146# meta/classes-recipe/image.bbclass and
147# meta/classes-recipe/core-image.bbclass for more details. 147# meta/classes-recipe/core-image.bbclass for more details.
148# We default to enabling the debugging tweaks. 148# We default to allowing root login without a password for convenience.
149EXTRA_IMAGE_FEATURES ?= "debug-tweaks" 149EXTRA_IMAGE_FEATURES ?= "allow-empty-password empty-root-password allow-root-login"
150 150
151# 151#
152# Additional image features 152# Additional image features