On 14.10.21 14:55, Michael Adler wrote:
> Hi Jan,
> 
>> You mean you want the effective ustate, considering what is the latest
>> env in use etc. - would be fine with me and likely has an even higher value.
> 
> yes, I agree that this would have a higher value, at least for all my 
> use-cases.
> So I'd suggest to drop the current patch in favor of that new functionality.
> 
> How about the following interface?
> 
> $ bg_printenv --current --ustate
> ustate:           0 (OK)
> 
> $ bg_printenv --current --ustate --raw
> 0

--raw to make it script-friendly?

Sounds good to me.

I just realized that we have a unified help for print/setenv, and that
is now getting longer and longer. Maybe time to split this.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/cd7365c2-bcb5-dca1-2aa0-b087d9275c0b%40siemens.com.

Reply via email to