[U-Boot] [PATCH 03/11] env: add support for whitelisting variables from secondary environments

Lukasz Majewski lukma at denx.de
Tue Dec 26 11:21:23 UTC 2017


Hi Quentin,

> +config ENV_VAR_WHITELIST
> +	bool "Enable overriding some variables from secondary
> environments"
> +	help
> +	  This allows overriding some variables from secondary
> environments.
> +	  After the first valid environment is loaded, a secondary
> environment
> +	  is pre-loaded and its variables that are present in the
> whitelist will
> +	  be added to the current environment or will override
> existing
> +	  variables.

This description seems to do what is already done in the "env import"
command.

It also allows for setting env variables from HUSH prompt.

Maybe it would be possible to re-use or extend it to suits your needs?


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171226/96eb08db/attachment.sig>


More information about the U-Boot mailing list