diff mbox series

[2/2] initramfs-framework: add base package summary and order metadata consistently

Message ID 20261124193843.3572691-2-u.oelmann@pengutronix.de
State New
Headers show
Series [1/2] initramfs-framework: fix dependencies | expand

Commit Message

Ulrich Ölmann Nov. 24, 2026, 7:38 p.m. UTC
Add an explicit summary for ${PN}-base, matching the recipe summary, move the
${PN}-base metadata next to the other package-specific metadata and use the same
order as for the recipe's other packages.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
 .../recipes-core/initrdscripts/initramfs-framework_1.0.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
index 1fe7ec9b5e2c..864ef5feca37 100644
--- a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
@@ -1,8 +1,6 @@ 
 SUMMARY = "Modular initramfs system"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-RDEPENDS:${PN}-base += "${VIRTUAL-RUNTIME_base-utils}"
-RRECOMMENDS:${PN}-base = "${VIRTUAL-RUNTIME_base-utils-syslog}"
 
 SRC_URI = "file://init \
            file://exec \
@@ -67,8 +65,9 @@  PACKAGES = "${PN}-base \
             initramfs-module-overlayroot \
            "
 
-FILES:${PN}-base = "/init /init.d/99-finish /dev"
-
+SUMMARY:${PN}-base = "${SUMMARY}"
+RDEPENDS:${PN}-base += "${VIRTUAL-RUNTIME_base-utils}"
+RRECOMMENDS:${PN}-base = "${VIRTUAL-RUNTIME_base-utils-syslog}"
 # 99-finish in base depends on some other module which mounts
 # the rootfs, like 90-rootfs. To replace that default, use
 # BAD_RECOMMENDATIONS += "initramfs-module-rootfs" in your
@@ -76,6 +75,7 @@  FILES:${PN}-base = "/init /init.d/99-finish /dev"
 # something that runs earlier (for example, a 89-my-rootfs)
 # and mounts the rootfs. Then 90-rootfs will proceed immediately.
 RRECOMMENDS:${PN}-base += "initramfs-module-rootfs"
+FILES:${PN}-base = "/init /init.d/99-finish /dev"
 
 SUMMARY:initramfs-module-exec = "initramfs support for easy execution of applications"
 RDEPENDS:initramfs-module-exec = "${PN}-base"