[PATCH] defaultenv: don't pass environment path to zero env

Sascha Hauer s.hauer at pengutronix.de
Wed Sep 2 01:53:25 PDT 2026


On 2026-09-02 10:45, Ahmad Fatoum wrote:
> Hello Sascha,
> 
> On 9/2/26 10:43 AM, Sascha Hauer wrote:
> > 
> > On Tue, 01 Sep 2026 14:28:31 +0200, Ahmad Fatoum wrote:
> >> bareboxenv -z sets ENVFS_FLAGS_FORCE_BUILT_IN, which makes envfs_save()
> >> emit a bare header and never look at its directory argument. Passing
> >> CONFIG_DEFAULT_ENVIRONMENT_PATH there was pointless, but harmless until
> >> the Kconfig sync made auto.conf no longer quote string options:
> >> The result is that the quotes became part of the value.
> >>
> >> This is triggered by OpenEmbedded's barebox.bbclass for example, which
> >> overrides the option on the make command line in the old, quoted form:
> >>
> >> [...]
> > 
> > Applied, thanks!
> > 
> > [1/1] defaultenv: don't pass environment path to zero env
> >       https://git.pengutronix.de/cgit/barebox/commit/?id=be574e455b3a (link may not be stable)
> 
> Please also backport to master.

Applied to master in the first place already.

Sascha

--
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list