sonic-buildimage/installer
davidpil2002 7a2bb6d3f1
[secure boot]Fix mokutil check issue with ONIE version older than 202… (#14589)
…1.11 by using efivar tool instead

#### Why I did it
solution to BUG below/
https://github.com/sonic-net/sonic-buildimage/issues/14316
bug report also in this issue:
backport: secureboot support #14246
#### How I did it
When installing an image secure boot is checking if the UEFI have the secure boot flag enabled or disabled using a tool name `mokutil` this tool its not exist in ONIE version older than 2021.11 so its crasshing the install.
To fix that we add a coded that checking secure boot enabled/disabled by using efivar tool that should exist in any UEFI system
#### How to verify it
Install the image in a device with ONIE version older than 2021.11 and check that the installation and boot succeed (all docker up).
2023-05-31 12:11:19 -07:00
..
tests [arm] Refactor installer and build to allow arm builds targeted at grub platforms (#11341) 2022-07-12 15:00:57 -07:00
default_platform.conf [secure boot]Fix mokutil check issue with ONIE version older than 202… (#14589) 2023-05-31 12:11:19 -07:00
install.sh Fix the demo_part_size not initialized issue when creating partition (#14296) 2023-03-23 21:51:47 +08:00
sharch_body.sh Support for updating tmpfs size according to Image size (#7484) 2021-06-20 23:55:02 -07:00