From: Ross Burton Date: Tue, 5 Nov 2024 19:48:56 +0000 (+0000) Subject: oe-selftest-image: use explicit IMAGE_FEATURES instead of debug-tweaks X-Git-Tag: yocto-5.2~1412 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83cd8b5ca4544e9b19c110035276e5de2ebe7404;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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 = " "