[PATCH] extlinux: resolve absolute paths against the partition root

Sascha Hauer s.hauer at pengutronix.de
Fri Aug 28 03:44:39 PDT 2026


On Tue, 25 Aug 2026 17:38:43 -0700, Stephano Cetola wrote:
> extlinux_boot() always joined a path with '/' against rootpath, which
> holds the config file's own directory, not the partition root. A
> KERNEL/INITRD/FDT value starting with '/', the normal syslinux way to
> name a path from the partition root, got treated as relative instead.
> The extlinux.conf file itself can live in a different directory than
> the partition root (extlinux_scan_directory() looks in both
> boot/extlinux/ and extlinux/), so this produced a wrong, nonexistent
> path whenever a config used an absolute KERNEL/INITRD/FDT entry.
> 
> [...]

Applied, thanks!

[1/1] extlinux: resolve absolute paths against the partition root
      https://git.pengutronix.de/cgit/barebox/commit/?id=1cbbf0e06cf2 (link may not be stable)

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




More information about the barebox mailing list