Am Donnerstag, dem 18.12.2025 um 10:32 +0000 schrieb Freihofer, Adrian:
> 
> On Tue, 2025-12-16 at 16:18 +0000, Erik Schumacher via
> lists.openembedded.org wrote:
> > [You don't often get email from
> > [email protected]. Learn why
> > this is important at https://aka.ms/LearnAboutSenderIdentification ]
> > 
> > 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.
> 
> There are probably two ways to solve this issue:
> - Configure busybox to provide the mountpoint utility
> - Add the RDEPENDS on util-linux
> 
> Since the default configuration of busybox has mountpoint built-in, I'm
> wondering what kind of setup leads to this issue.
> Would it be possible or even better to just use the busybox
> implementation also in your setup?
> 

Hi Adrian,

thank you for pointing me towards busybox. That was the actual problem
with my setups:

The first setup was a scarthgap build with custom layers / custom
distro based on poky which uses a custom defconfig for busybox. The
CONFIG_MOUNTPOINT was missing there.

Then I tried to reproduce the behavior with a second setup which was a
clean pull of the poky repo. And to speed up building I used poky-tiny
as distro. And it turns out, poky-tiny also pulls in a custom busybox
config with CONFIG_MOUNTPOINT missing.

Right now I tested it again with a clean setup of openembedded-core +
bitbake. There, CONFIG_MOUNTPOINT was set and the initramfs included
the mountpoint command (linked to busybox)

Based on that, please ignore my patch!

But I have a follow-up question:
Is there any way to catch such a misconfiguration? Can we depend on a
virtual package like busybox-mountpoint that is only available if the
defconfig is set accordingly?

Regards,
Erik
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#228126): 
https://lists.openembedded.org/g/openembedded-core/message/228126
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to