]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
local.conf.sample: use explicit IMAGE_FEATURES instead of debug-tweaks
authorRoss Burton <ross.burton@arm.com>
Tue, 5 Nov 2024 19:48:57 +0000 (19:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Nov 2024 10:11:06 +0000 (10:11 +0000)
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/templates/default/local.conf.sample

index 50fd574fd37863252dd3ab6239f8c0d900c34513..c7c60540f30428547705c6f25558a8ea074983cc 100644 (file)
@@ -123,8 +123,8 @@ PACKAGE_CLASSES ?= "package_ipk"
 # There are other application targets that can be used here too, see
 # meta/classes-recipe/image.bbclass and
 # meta/classes-recipe/core-image.bbclass for more details.
-# We default to enabling the debugging tweaks.
-EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
+# We default to allowing root login without a password for convenience.
+EXTRA_IMAGE_FEATURES ?= "allow-empty-password empty-root-password allow-root-login"
 
 #
 # Additional image features