[PATCH] environment: don't return raw device when file-path is specified
Sascha Hauer
s.hauer at pengutronix.de
Fri Dec 20 01:04:38 PST 2024
On Fri, 13 Dec 2024 16:08:55 +0100, Lucas Stach wrote:
> Environment nodes that specify the file-path property expect the
> environment to be stored in a file system.
>
> Returning the raw device path when CONFIG_OF_BAREBOX_ENV_IN_FS is
> disabled in such a case is not a good idea, as saving the env may
> then unexpectedly overwrite unrelated device content. Bail out in
> case a file-path is specified, but we have no env in FS support.
>
> [...]
Applied, thanks!
[1/1] environment: don't return raw device when file-path is specified
https://git.pengutronix.de/cgit/barebox/commit/?id=f4283f6d9f15 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list