From 2812fcbab311bc7c46c9d0ed487fde1110ed0fc5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 19 Nov 2024 14:34:12 -0800 Subject: [PATCH] yoe: Remove usage of debug-tweaks This image feature has been removed from core [1] [1] https://git.yoctoproject.org/poky/commit/?id=43b8b3fa72d75d8d82a478613a4d9bf4645b5389 Signed-off-by: Khem Raj --- conf/projects/beaglebone/config.conf | 2 +- conf/projects/imx8mm-ddr4-evk/config.conf | 2 +- conf/projects/jetson-agx-orin-devkit/config.conf | 2 +- conf/projects/jetson-orin-nano-devkit-nvme/config.conf | 2 +- conf/projects/jetson-orin-nano-devkit/config.conf | 2 +- conf/projects/nezha-d1/config.conf | 2 +- conf/projects/odroid-c4/config.conf | 2 +- conf/projects/qemucommon/config.conf | 4 ++-- conf/projects/rockpi-4b/config.conf | 2 +- conf/projects/rpi4-32/config.conf | 2 +- conf/projects/rpi4-64/config.conf | 2 +- conf/projects/rpi5/config.conf | 2 +- conf/projects/unleashed/config.conf | 2 +- conf/projects/unmatched/config.conf | 2 +- conf/projects/var-dart-imx6ul/config.conf | 2 +- conf/projects/var-som-mx8/config.conf | 2 +- conf/projects/var-som-mx8m-nano/config.conf | 2 +- conf/projects/var-som-mx8x/config.conf | 2 +- conf/projects/visionfive/config.conf | 2 +- conf/projects/visionfive2/config.conf | 2 +- sources/meta-yoe/recipes-core/images/yoe-installer-image.bb | 2 +- sources/meta-yoe/recipes-core/images/yoe-simple-image.bb | 4 ++-- 22 files changed, 24 insertions(+), 24 deletions(-) diff --git a/conf/projects/beaglebone/config.conf b/conf/projects/beaglebone/config.conf index ec5d472a7..4472e66d2 100644 --- a/conf/projects/beaglebone/config.conf +++ b/conf/projects/beaglebone/config.conf @@ -54,7 +54,7 @@ UBOOT_LOCALVERSION:beaglebone = "" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/imx8mm-ddr4-evk/config.conf b/conf/projects/imx8mm-ddr4-evk/config.conf index 2e12ef1a6..291a544c7 100644 --- a/conf/projects/imx8mm-ddr4-evk/config.conf +++ b/conf/projects/imx8mm-ddr4-evk/config.conf @@ -47,7 +47,7 @@ TEST_TARGET = "simpleremote" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/jetson-agx-orin-devkit/config.conf b/conf/projects/jetson-agx-orin-devkit/config.conf index cc27f3512..826d93690 100644 --- a/conf/projects/jetson-agx-orin-devkit/config.conf +++ b/conf/projects/jetson-agx-orin-devkit/config.conf @@ -98,7 +98,7 @@ DISPLAY_CARD = "/dev/dri/card1" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/jetson-orin-nano-devkit-nvme/config.conf b/conf/projects/jetson-orin-nano-devkit-nvme/config.conf index 58adbde86..a289f508b 100644 --- a/conf/projects/jetson-orin-nano-devkit-nvme/config.conf +++ b/conf/projects/jetson-orin-nano-devkit-nvme/config.conf @@ -97,7 +97,7 @@ DISPLAY_CARD = "/dev/dri/card1" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/jetson-orin-nano-devkit/config.conf b/conf/projects/jetson-orin-nano-devkit/config.conf index 3e5b581b0..e9aa00b13 100644 --- a/conf/projects/jetson-orin-nano-devkit/config.conf +++ b/conf/projects/jetson-orin-nano-devkit/config.conf @@ -97,7 +97,7 @@ DISPLAY_CARD = "/dev/dri/card1" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/nezha-d1/config.conf b/conf/projects/nezha-d1/config.conf index 4793a89ee..a50a31d02 100644 --- a/conf/projects/nezha-d1/config.conf +++ b/conf/projects/nezha-d1/config.conf @@ -38,7 +38,7 @@ TEST_TARGET = "simpleremote" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/odroid-c4/config.conf b/conf/projects/odroid-c4/config.conf index 98a65bbd7..3603389d1 100644 --- a/conf/projects/odroid-c4/config.conf +++ b/conf/projects/odroid-c4/config.conf @@ -51,7 +51,7 @@ SKIP_META_ODROID_EXTRA_SANITY_CHECK = "1" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/qemucommon/config.conf b/conf/projects/qemucommon/config.conf index bae23a98f..483a79c58 100644 --- a/conf/projects/qemucommon/config.conf +++ b/conf/projects/qemucommon/config.conf @@ -23,7 +23,7 @@ IMAGE_FSTYPES:remove = "tar.bz2 tar.xz tar tar.gz wic.xz wic.bmap" # needed for running ptests automatically PACKAGE_FEED_URIS ?= "" # Needed for ptest runs -EXTRA_IMAGE_FEATURES:append = " debug-tweaks" +EXTRA_IMAGE_FEATURES:append = " allow-empty-password empty-root-password allow-root-login post-install-logging" ##################################################################### # add project specific configuration below this line @@ -41,7 +41,7 @@ EXTRA_IMAGE_FEATURES:append = " debug-tweaks" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/rockpi-4b/config.conf b/conf/projects/rockpi-4b/config.conf index 175d4d2f2..3d3da54ba 100644 --- a/conf/projects/rockpi-4b/config.conf +++ b/conf/projects/rockpi-4b/config.conf @@ -38,7 +38,7 @@ TEST_TARGET = "simpleremote" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/rpi4-32/config.conf b/conf/projects/rpi4-32/config.conf index dfd2a58e9..384ea4711 100644 --- a/conf/projects/rpi4-32/config.conf +++ b/conf/projects/rpi4-32/config.conf @@ -63,7 +63,7 @@ VC4DTBO = "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'vc4-kms-v # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/rpi4-64/config.conf b/conf/projects/rpi4-64/config.conf index 951f86eae..f2566a311 100644 --- a/conf/projects/rpi4-64/config.conf +++ b/conf/projects/rpi4-64/config.conf @@ -63,7 +63,7 @@ VC4DTBO = "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'vc4-kms-v # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/rpi5/config.conf b/conf/projects/rpi5/config.conf index 08ef0cf81..c0fc1dd20 100644 --- a/conf/projects/rpi5/config.conf +++ b/conf/projects/rpi5/config.conf @@ -63,7 +63,7 @@ VC4DTBO = "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'vc4-kms-v # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/unleashed/config.conf b/conf/projects/unleashed/config.conf index 9e5b7c455..6d6b93e95 100644 --- a/conf/projects/unleashed/config.conf +++ b/conf/projects/unleashed/config.conf @@ -38,7 +38,7 @@ TEST_TARGET = "simpleremote" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/unmatched/config.conf b/conf/projects/unmatched/config.conf index 0ad9cfabc..1a3aa2c16 100644 --- a/conf/projects/unmatched/config.conf +++ b/conf/projects/unmatched/config.conf @@ -38,7 +38,7 @@ TEST_TARGET = "simpleremote" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/var-dart-imx6ul/config.conf b/conf/projects/var-dart-imx6ul/config.conf index cf161e595..acebfec66 100644 --- a/conf/projects/var-dart-imx6ul/config.conf +++ b/conf/projects/var-dart-imx6ul/config.conf @@ -45,7 +45,7 @@ PREFERRED_VERSION_libgpiod = "1.%" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/var-som-mx8/config.conf b/conf/projects/var-som-mx8/config.conf index 39e0daf8c..47192042b 100644 --- a/conf/projects/var-som-mx8/config.conf +++ b/conf/projects/var-som-mx8/config.conf @@ -56,7 +56,7 @@ IMAGE_INSTALL:append = " optee-os" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/var-som-mx8m-nano/config.conf b/conf/projects/var-som-mx8m-nano/config.conf index 4f3631501..2b44669ba 100644 --- a/conf/projects/var-som-mx8m-nano/config.conf +++ b/conf/projects/var-som-mx8m-nano/config.conf @@ -52,7 +52,7 @@ PREFERRED_VERSION_libgpiod = "1.%" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/var-som-mx8x/config.conf b/conf/projects/var-som-mx8x/config.conf index e8790bba2..a6a01fa38 100644 --- a/conf/projects/var-som-mx8x/config.conf +++ b/conf/projects/var-som-mx8x/config.conf @@ -50,7 +50,7 @@ PREFERRED_VERSION_libgpiod = "1.%" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/visionfive/config.conf b/conf/projects/visionfive/config.conf index 083e8e845..187138b44 100644 --- a/conf/projects/visionfive/config.conf +++ b/conf/projects/visionfive/config.conf @@ -38,7 +38,7 @@ TEST_TARGET = "simpleremote" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/conf/projects/visionfive2/config.conf b/conf/projects/visionfive2/config.conf index a6fe9478a..9b90d697c 100644 --- a/conf/projects/visionfive2/config.conf +++ b/conf/projects/visionfive2/config.conf @@ -41,7 +41,7 @@ TEST_TARGET = "simpleremote" # usermod -a -G audio admin; \ # usermod -a -G systemd-journal admin; \ #" -#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks" +#EXTRA_IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" # For running oe-selftest uncomment below lines #USER_CLASSES:remove = "buildhistory" diff --git a/sources/meta-yoe/recipes-core/images/yoe-installer-image.bb b/sources/meta-yoe/recipes-core/images/yoe-installer-image.bb index 767fdc5ba..23100aea5 100644 --- a/sources/meta-yoe/recipes-core/images/yoe-installer-image.bb +++ b/sources/meta-yoe/recipes-core/images/yoe-installer-image.bb @@ -11,7 +11,7 @@ export IMAGE_BASENAME = "yoe-installer-image" IMAGE_FSTYPES = "wic.bmap wic.xz" # Do not pollute the installer image with full image features -IMAGE_FEATURES = "ssh-server-openssh hwcodecs debug-tweaks" +IMAGE_FEATURES = "ssh-server-openssh hwcodecs allow-empty-password empty-root-password allow-root-login post-install-logging" PACKAGE_INSTALL = "\ packagegroup-core-boot \ diff --git a/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb b/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb index b9a5aa512..ca60bc985 100644 --- a/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb +++ b/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb @@ -9,7 +9,7 @@ require updater.inc IMAGE_FEATURES += "ssh-server-openssh package-management hwcodecs" -IMAGE_FEATURES += "debug-tweaks" +IMAGE_FEATURES += "allow-empty-password empty-root-password allow-root-login post-install-logging" IMAGE_INSTALL = "\ packagegroup-core-boot \ @@ -37,7 +37,7 @@ BAD_RECOMMENDATIONS += "eudev-hwdb udev-hwdb libmodule-build-perl" # How to add password/user to image #inherit extrausers -#IMAGE_FEATURES:remove = "debug-tweaks" +#IMAGE_FEATURES:remove = "allow-empty-password empty-root-password allow-root-login post-install-logging" #EXTRA_USERS_PARAMS += "\ # useradd scribbledeedoo; \