Hi Pual,

Thank you for your review,

Good point. It does not need to be enabled globally.
I'll send a v2 using the separately packaged util-linux-findfs as a runtime 
dependency of initramfs-module-udev, leaving the default BusyBox configuration 
unchanged.

Thanks
Wenwen
________________________________
From: Paul Barker <[email protected]>
Sent: Thursday, August 27, 2026 21:04
To: Wenwen Fu <[email protected]>; 
[email protected] 
<[email protected]>
Subject: Re: [PATCH] initramfs-framework: support LABEL with root-only udev 
trigger

WARNING: This email originated from outside of Qualcomm. Please be wary of any 
links or attachments, and do not enable macros.

On Wed, 2026-08-26 at 17:25 +0800, Wenwen Fu wrote:
> Filesystem labels are not available in kernel uevents. Enable the
> BusyBox findfs applet and use it to resolve root=LABEL= to a device.
> Read the kernel-provided PARTUUID from sysfs and trigger only that
> partition. Fall back to the full trigger when the label cannot be
> resolved safely.
>
> Signed-off-by: Wenwen Fu <[email protected]>
> ---
>  meta/recipes-core/busybox/busybox/defconfig          |  2 +-
>  .../initrdscripts/initramfs-framework/udev           | 12 ++++++++++++
>  2 files changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/busybox/busybox/defconfig 
> b/meta/recipes-core/busybox/busybox/defconfig
> index 1f4b5e3d1e..a282370a8f 100644
> --- a/meta/recipes-core/busybox/busybox/defconfig
> +++ b/meta/recipes-core/busybox/busybox/defconfig
> @@ -634,7 +634,7 @@ CONFIG_FEATURE_FDISK_WRITABLE=y
>  # CONFIG_FEATURE_OSF_LABEL is not set
>  # CONFIG_FEATURE_GPT_LABEL is not set
>  # CONFIG_FEATURE_FDISK_ADVANCED is not set
> -# CONFIG_FINDFS is not set
> +CONFIG_FINDFS=y

Does this really need enabling in the defconfig, i.e. for all users? We
try to keep the default busybox configuration small.

Best regards,

--
Paul Barker

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#244496): 
https://lists.openembedded.org/g/openembedded-core/message/244496
Mute This Topic: https://lists.openembedded.org/mt/120935036/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to