[PATCH] blspec: derive root prefix from blspec config path instead of mountpoint

Sascha Hauer s.hauer at pengutronix.de
Sun Dec 7 23:47:12 PST 2025


On Fri, 14 Nov 2025 00:00:34 -0500, chalianis1 at gmail.com wrote:
> Add get_prefix_path() to compute the filesystem prefix of a BLSpec
> entry by locating the deepest /loader/entries/ component in the
> configuration path. This ensures correct rootpath extraction for
> nested loader directories, mixed path layouts, duplicate segments,
> and paths without valid loader entries. If no prefix is found,
> fall back to get_mounted_path().
> 
> [...]

Applied, thanks!

[1/1] blspec: derive root prefix from blspec config path instead of mountpoint
      https://git.pengutronix.de/cgit/barebox/commit/?id=7234dd9aecce (link may not be stable)

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




More information about the barebox mailing list