@@ -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 \
@@ -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"
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 <erik.schumacher@iris-sensing.com> --- 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(-) -- 2.52.0