[U-Boot] Composing multiple envs

Alex Kiernan alex.kiernan at gmail.com
Sun Mar 25 14:49:38 UTC 2018


On Sun, Mar 25, 2018 at 3:34 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Alex,
>
> In message <CAO5Uq5TK7_Z-pXH47zW+5w61OWzywewg+QMT6eXdhnyU36oKBQ at mail.gmail.com> you wrote:
>>
>> >  Why can't you just "env import"
>> > these additional fragments as part of your hard coded startup
>> > sequence?
>>
>> Other than wanting to filter the variables that can come in that way,
>> it does everything I need. In fact with sufficient care I probably
>> don't even need to filter it.
>
> Hm... env import could be extended to accept a list of variables (or
> maybe even RE) which it imports, ignoring the rest...
>

I was just looking at exactly that option - on the face of it, we
already have everything we need in place to support a simple list of
variables passed through to env import. I'll look at coding up an RFC
along those lines.

-- 
Alex Kiernan


More information about the U-Boot mailing list