[PATCH] defaultenv: apply external environment after board overlays again

Sascha Hauer s.hauer at pengutronix.de
Fri Oct 16 05:39:23 PDT 2026


On Fri, 16 Oct 2026 08:17:11 +0200, Florijan Plohl wrote:
> Since commit 7f1cc5dd869d ("defaultenv: add base and external defaultenv
> in pure_initcall"), the environment given with
> CONFIG_DEFAULT_ENVIRONMENT_PATH is added before boards add their own
> overlays with defaultenv_append_directory(). As overlays are applied in
> the order they were added, board overlays now overwrite the external
> environment, contrary to Documentation/user/defaultenv-2.rst, and BSPs
> can no longer replace a board's default environment files, e.g. its boot
> scripts.
> 
> [...]

Applied, thanks!

[1/1] defaultenv: apply external environment after board overlays again
      https://git.pengutronix.de/cgit/barebox/commit/?id=6b2dee07d718 (link may not be stable)

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




More information about the barebox mailing list