diff mbox series

[3/4] oe-selftest-image: use explicit IMAGE_FEATURES instead of debug-tweaks

Message ID 20241105194857.3351281-3-ross.burton@arm.com
State Accepted, archived
Commit 83cd8b5ca4544e9b19c110035276e5de2ebe7404
Headers show
Series [1/4] selftest/container: fix IMAGE_FEATURES assignment | expand

Commit Message

Ross Burton Nov. 5, 2024, 7:48 p.m. UTC
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>
---
 meta-selftest/recipes-test/images/oe-selftest-image.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-selftest/recipes-test/images/oe-selftest-image.bb b/meta-selftest/recipes-test/images/oe-selftest-image.bb
index 317a0712aaf..0eb40572094 100644
--- a/meta-selftest/recipes-test/images/oe-selftest-image.bb
+++ b/meta-selftest/recipes-test/images/oe-selftest-image.bb
@@ -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 = " "