From 0a55bfa8b56629092ea94635cbd6689ec43ad3ba Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Mon, 16 Mar 2026 18:28:34 +0100 Subject: [PATCH 1/2] PACKAGEGROUP-CORE-BOOT: include initrd package dependencies Standard core images (e.g., core-image-minimal or core-image-full-cmdline) do not include DISTRO_EXTRA_RDEPENDS, which can lead to missing initrd packages even when the feature is enabled. By appending ${INITRD_PACKAGE} to packagegroup-core-boot, we ensure that the configured initrd is consistently included across all images. Signed-off-by: Dario Binacchi --- recipes-core/packagegroups/packagegroup-core-boot.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 recipes-core/packagegroups/packagegroup-core-boot.bbappend diff --git a/recipes-core/packagegroups/packagegroup-core-boot.bbappend b/recipes-core/packagegroups/packagegroup-core-boot.bbappend new file mode 100644 index 0000000..aca7c1c --- /dev/null +++ b/recipes-core/packagegroups/packagegroup-core-boot.bbappend @@ -0,0 +1,3 @@ +RDEPENDS:${PN} += " \ + ${@bb.utils.contains('COMBINED_FEATURES', 'initrd', '${INITRD_PACKAGE}', '', d)} \ + " From 1f60d43d1b5a71151b573101920bd43dfa5fd785 Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Mon, 16 Mar 2026 18:37:13 +0100 Subject: [PATCH 2/2] PACKAGEGROUP-CORE-BOOT: include fwumdata and bootcount support Add fwumdata tool and bootcount service to packagegroup-core-boot to ensure firmware update metadata and rollback capabilities are available across all images. Signed-off-by: Dario Binacchi --- recipes-core/packagegroups/packagegroup-core-boot.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/packagegroups/packagegroup-core-boot.bbappend b/recipes-core/packagegroups/packagegroup-core-boot.bbappend index aca7c1c..86a866a 100644 --- a/recipes-core/packagegroups/packagegroup-core-boot.bbappend +++ b/recipes-core/packagegroups/packagegroup-core-boot.bbappend @@ -1,3 +1,5 @@ RDEPENDS:${PN} += " \ ${@bb.utils.contains('COMBINED_FEATURES', 'initrd', '${INITRD_PACKAGE}', '', d)} \ + ${@bb.utils.contains('MACHINE_FEATURES', 'fw-update', 'u-boot-fwumdata-config-stm32mp', '', d)} \ + ${@bb.utils.contains('MACHINE_FEATURES', 'fw-update', 'bootcount', '', d)} \ "