]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oe-selftest-image: use explicit IMAGE_FEATURES instead of debug-tweaks
authorRoss Burton <ross.burton@arm.com>
Tue, 5 Nov 2024 19:48:56 +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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/images/oe-selftest-image.bb

index 317a0712aafbd085528f3d32bca39554a2cbb6d5..0eb405720943fa494d309cba9271563dec1bb81f 100644 (file)
@@ -2,7 +2,7 @@ SUMMARY = "An image used during oe-selftest tests"
 
 # libudev is needed for deploy mdadm via devtool
 IMAGE_INSTALL = "packagegroup-core-boot packagegroup-core-ssh-dropbear libudev"
-IMAGE_FEATURES = "debug-tweaks"
+IMAGE_FEATURES = "allow-empty-password empty-root-password allow-root-login"
 
 IMAGE_LINGUAS = " "