From fb4eed703575f45e725b0516a674722348a460c9 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Sat, 9 Nov 2024 13:45:36 +0200 Subject: [PATCH 1/2] initramfs-rootfs-image: drop debug-tweaks Initramfs-rootfs-image just jumps to the specified rootfs. It doesn't require any tweaks. Drop debug-tweaks from the IMAGE_FEATURES. Signed-off-by: Dmitry Baryshkov --- recipes-kernel/images/initramfs-rootfs-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-kernel/images/initramfs-rootfs-image.bb b/recipes-kernel/images/initramfs-rootfs-image.bb index 028f2125e..b915e9113 100644 --- a/recipes-kernel/images/initramfs-rootfs-image.bb +++ b/recipes-kernel/images/initramfs-rootfs-image.bb @@ -11,7 +11,7 @@ PACKAGE_INSTALL = " \ " # Do not pollute the initrd image with rootfs features -IMAGE_FEATURES = "debug-tweaks" +IMAGE_FEATURES = "" IMAGE_LINGUAS = "" LICENSE = "MIT" From bc42b58ce3e1787fb0def9c39b3bae10cd5bf291 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Sat, 9 Nov 2024 13:46:57 +0200 Subject: [PATCH 2/2] initramfs-tiny-image: replace debug-tweaks feature The `debug-tweaks` IMAGE_FEATURE has been dropped in favour of explicitly using corresponding features. Replace it with the suggested list of features. Signed-off-by: Dmitry Baryshkov --- recipes-test/images/initramfs-tiny-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-test/images/initramfs-tiny-image.bb b/recipes-test/images/initramfs-tiny-image.bb index e9f185b5b..036076a90 100644 --- a/recipes-test/images/initramfs-tiny-image.bb +++ b/recipes-test/images/initramfs-tiny-image.bb @@ -9,7 +9,7 @@ PACKAGE_INSTALL = " \ " # Do not pollute the initrd image with rootfs features -IMAGE_FEATURES = "debug-tweaks" +IMAGE_FEATURES = "allow-empty-password empty-root-password allow-root-login post-install-logging" IMAGE_LINGUAS = "" LICENSE = "MIT"