From 83cd8b5ca4544e9b19c110035276e5de2ebe7404 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 5 Nov 2024 19:48:56 +0000 Subject: [PATCH] oe-selftest-image: 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. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta-selftest/recipes-test/images/oe-selftest-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = " " -- 2.47.3