[pve-devel] [PATCH installer v2 06/17] common: setup: deserialize `secure_boot` property from runtime env

Christoph Heiss c.heiss at proxmox.com
Mon Aug 5 15:12:56 CEST 2024


On Tue, Jul 23, 2024 at 04:31:35PM GMT, Aaron Lauterer wrote:
> In my tests, with secure boot disabled, it failed to parse the
> run-env-info.json because the Perl code wrote it this way:
>
> "secure_boot":""
>
> And it currently cannot parse a string. Setting it manually to:
>
> "secure_boot":0
>
> helped. The question is, if we want the parser to be more flexible or fix
> the Perl code that dumps that info.

Good catch!
I'd go the route of fixing the Perl side, such that it is always either
0 or 1 for consistency.




More information about the pve-devel mailing list