From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <wenwfu@qti.qualcomm.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v2] initramfs-framework: support LABEL with root-only udev trigger
Date: Fri, 28 Aug 2026 15:05:22 +0200 [thread overview]
Message-ID: <DL0LKFQTHSYI.3HB4477WXT14Y@bootlin.com> (raw)
In-Reply-To: <20260827151144.3046231-1-wenwfu@qti.qualcomm.com>
On Thu Aug 27, 2026 at 5:11 PM CEST, Wenwen Fu via lists.openembedded.org wrote:
> Filesystem labels are not available in kernel uevents. Add
> util-linux-findfs to initramfs-module-udev and use findfs to resolve
> root=LABEL= to a device. Read the kernel-provided PARTUUID from sysfs
> and trigger only that partition, falling back to a full trigger if the
> label cannot be resolved safely. Keeping findfs out of the BusyBox
> defconfig avoids increasing BusyBox for unrelated users.
>
> Tested with bitbake -p and by generating the
> core-image-minimal-initramfs dependency graph.
>
> AI-Generated: OpenAI Codex
> Signed-off-by: Wenwen Fu <wenwfu@qti.qualcomm.com>
> ---
> Changes in v2:
> - Keep findfs out of the default BusyBox configuration.
> - Add util-linux-findfs as an initramfs-module-udev runtime dependency.
> ---
Hi,
Thanks for the new version, but it looks like this is now breaking the
sstatetests.SStateHashSameSigs2.test_sstate_allarch_samesigs selftest:
2026-08-28 11:52:19,276 - oe-selftest - INFO - 11: 37/71 648/764 (178.91s) (0 failed) (sstatetests.SStateHashSameSigs2.test_sstate_allarch_samesigs)
2026-08-28 11:52:19,277 - 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 474, 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 207, in sstate_common_samesigs
self.assertEqual(files1, files2)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/unittest/case.py", line 907, in assertEqual
assertion_func(first, second, msg=msg)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/unittest/case.py", line 1206, in assertDictEqual
self.fail(self._formatMessage(msg, standardMsg))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/unittest/case.py", line 732, in fail
raise self.failureException(msg)
AssertionError: {'nat[225943 chars]k/do_create_package_spdx': '89409e9454bed0d549[78392 chars]4bc'} != {'nat[225943 chars]k/do_recipe_qa': '164b683aa2faabba13f23d8003ac[78392 chars]4bc'}
...
- 'initramfs-framework/do_create_package_spdx': '89409e9454bed0d5494c8686b6418dc7fdd8c7c0d0e97dd87dd3e8342b621da4',
+ 'initramfs-framework/do_create_package_spdx': 'c7ab0c1500e7106e8265cef8bd1fe05be652789acf69432215a7e172408676b7',
...
- 'initramfs-framework/do_package_qa': 'b6819a7ecf80c6bf03ff749c968ce24754dd7a07d05fd0fc2fcc9a53efd87bfb',
- 'initramfs-framework/do_package_write_rpm': '5a3cc5880fa17990df7847741014ff9188f80d91e48d789665ff82b1016028f1',
+ 'initramfs-framework/do_package_qa': '9b79d0a3fb13d27058711597b04fe0d62f4cd54f250db04408ceb02e35d09a12',
+ 'initramfs-framework/do_package_write_rpm': '937c8f39225bc46d8d8abaa38ba17af2b428b690ecb5f4a7706a711824a52af2',
...
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4693
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/4737
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4514
Can you have a look at the issue?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2026-08-28 13:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-26 9:25 [PATCH] initramfs-framework: support LABEL with root-only udev trigger Wenwen Fu
2026-08-27 13:04 ` Paul Barker
2026-08-27 14:25 ` Wenwen Fu
2026-08-27 15:11 ` [PATCH v2] " Wenwen Fu
2026-08-28 13:05 ` Mathieu Dubois-Briand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DL0LKFQTHSYI.3HB4477WXT14Y@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=wenwfu@qti.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox