initramfs-framework: rdepend on mountpoint command
PATCH 1/1 initramfs-framework: rdepend on mountpoint command
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.
--- meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +4 -0
@@ -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"
Signature · 1 line
2.52.0
Quoted 5 lines · Erik Schumacher via lists.openembedded.org
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:
Quoted 7 lines
/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]>---
Hi Erik,
Thanks for your patch.
It looks like test_sstate_allarch_samesigs selftest is not happy with it:
2025-12-12 20:04:30,268 - oe-selftest - INFO - FAIL: sstatetests.SStateHashSameSigs2.test_sstate_allarch_samesigs (subunit.RemotedTestCase)
2025-12-12 20:04:30,268 - oe-selftest - INFO - ----------------------------------------------------------------------
2025-12-12 20:04:30,269 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/sstatetests.py", line 469, in test_sstate_allarch_samesigs
self.sstate_common_samesigs(configA, configB, allarch=True)
File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/sstatetests.py", line 206, in sstate_common_samesigs
self.assertEqual(files1, files2)
File "/usr/lib/python3.11/unittest/case.py", line 873, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python3.11/unittest/case.py", line 1172, in assertDictEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/lib/python3.11/unittest/case.py", line 703, in fail
raise self.failureException(msg)AssertionError: {'nat[288907 chars]a': '5a33f309254c400149bac668b24712ae47b6f23e8[23676 chars]227'} != {'nat[288907 chars]a': '6886ab9a3ed9d12360fec5c00278339454f9b165f[23676 chars]227'}
{'adwaita-icon-theme/do_collect_spdx_deps': 'a9b207cbd8fc530325dd6ac6ed1326c598ba5d388cb0487def95f8f57e429276',
'adwaita-icon-theme/do_compile': '65c25400fef52b15166f6c3182a8e869f6bb83bbe612313108241128bcaeddb1',
'adwaita-icon-theme/do_configure': '9876c62c2d670de1ec2c083743eaaecfb58eb6b5c073a49cfa4c54fc15f295fa',
'adwaita-icon-theme/do_create_package_spdx': 'c81242a6feb654b5683155931994f10cfaed5e4b509178b661522ccd5ce4c46e',
'adwaita-icon-theme/do_create_spdx': 'aa9d785474f0a70486bfc5898b741b9a945e7dc7a851bbb3cc3efc848fd3ebf4',
...
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2827
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/2720
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/2964
Can you have a look at the issue?
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com