[PATCH v2 0/3] commands: devlookup: add option to print kernel root option

Sascha Hauer s.hauer at pengutronix.de
Mon Apr 7 00:52:52 PDT 2025


On Fri, 04 Apr 2025 20:23:42 +0200, Ahmad Fatoum wrote:
> There exists currently no way to view the kernel root option that
> barebox would generate when instructed to via global.bootm.root_dev,
> but without actually mounting the file system.
> 
> Add a new devlookup -k option that can print this. This can be useful in
> scripts that want to fixup the root line, so it's interpreted by the rdinit,
> but not by the kernel.
> 
> [...]

Applied, thanks!

[1/3] commands: devlookup: factor out cmd_export_val
      https://git.pengutronix.de/cgit/barebox/commit/?id=61a33875bc21 (link may not be stable)
[2/3] commands: findmnt: add support for exporting target as variable
      https://git.pengutronix.de/cgit/barebox/commit/?id=f041cefa94f9 (link may not be stable)
[3/3] commands: devlookup: add option to print kernel root option
      https://git.pengutronix.de/cgit/barebox/commit/?id=069bc37e0d23 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list