The scripts of the framework base package and the rootfs module script, both depend on the mountpoint command being available, which was previously not the case. This led to boot failures when trying to boot any rootfs with the core-image-initramfs-boot initrd:
/init: eval: line 16: mountpoint: not found This change adds the correct RDEPENDS to the base-package and the rootfs module. Signed-off-by: Erik Schumacher <[email protected]> --- v2: Add SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS and add RDEPENDS to both packages --- meta/conf/layer.conf | 1 + meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index ba25ca3029..5477e9846f 100644 --- a/meta/conf/layer.conf +++ b/meta/conf/layer.conf @@ -61,6 +61,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ initramfs-framework->${VIRTUAL-RUNTIME_base-utils} \ initramfs-framework->eudev \ initramfs-framework->systemd \ + initramfs-framework->util-linux \ initramfs-module-install-efi->dosfstools \ initramfs-module-install-efi->e2fsprogs \ initramfs-module-install-efi->parted \ diff --git a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb index 2ec03bc34c..4df10035fa 100644 --- a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb @@ -79,6 +79,9 @@ FILES:${PN}-base = "/init /init.d/99-finish /dev" # and mounts the rootfs. Then 90-rootfs will proceed immediately. RRECOMMENDS:${PN}-base += "initramfs-module-rootfs" +# 99-finish needs the mountpoint utility +RDEPENDS:${PN}-base += "util-linux-mountpoint" + SUMMARY:initramfs-module-exec = "initramfs support for easy execution of applications" RDEPENDS:initramfs-module-exec = "${PN}-base" FILES:initramfs-module-exec = "/init.d/89-exec" @@ -100,7 +103,7 @@ RDEPENDS:initramfs-module-nfsrootfs = "${PN}-base" FILES:initramfs-module-nfsrootfs = "/init.d/85-nfsrootfs" SUMMARY:initramfs-module-rootfs = "initramfs support for locating and mounting the root partition" -RDEPENDS:initramfs-module-rootfs = "${PN}-base" +RDEPENDS:initramfs-module-rootfs = "${PN}-base util-linux-mountpoint" FILES:initramfs-module-rootfs = "/init.d/90-rootfs" SUMMARY:initramfs-module-debug = "initramfs dynamic debug support" -- 2.52.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#227980): https://lists.openembedded.org/g/openembedded-core/message/227980 Mute This Topic: https://lists.openembedded.org/mt/116811908/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
