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 for the base-package with a note
that the rootfs-module also depends on it.

Signed-off-by: Erik Schumacher <[email protected]>
---
 meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb 
b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
index 2ec03bc34c..26125cc8be 100644
--- a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
@@ -79,6 +79,10 @@ 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, the rootfs module
+# also depends on mountpoint being preset
+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"
-- 
2.52.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#227587): 
https://lists.openembedded.org/g/openembedded-core/message/227587
Mute This Topic: https://lists.openembedded.org/mt/116744873/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [OE-core] [PATCH] initram... Erik Schumacher via lists.openembedded.org

Reply via email to