Secure boot fix instalation with devices that used ONIE version older than 2021.11#14429
Secure boot fix instalation with devices that used ONIE version older than 2021.11#14429davidpil2002 wants to merge 1 commit intosonic-net:masterfrom
Conversation
… version (older than 2021.11)
87df3eb to
b79123d
Compare
|
rerun, failed in build time, but the commit didn't modify anything than influence the build flow. |
|
/azp run Azure.sonic-buildimage |
|
Commenter does not have sufficient privileges for PR 14429 in repo sonic-net/sonic-buildimage |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 14429 in repo sonic-net/sonic-buildimage |
|
/azpw run |
|
/AzurePipelines run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
|
Hi @liat-grozovik , |
|
@DavidZagury FYI |
|
/ azp run Azure.sonic-buildimage |
|
Hi David I download image from this page Supported Platforms today. But it install fails and feedback "mokutil: not found", when I try to install SONiC image for Accton AS9716-32D, maybe our switch version is too old. is it should still install or without and skip for mokutil ? |
this PR contained the fix for your issue. |
|
Hello, I am also have the same issue. The switch I am using is 100bf-32x. During the process of installing SONiC for 100bf-32x, I encountered an error "mokutil not found" and the installation process did not proceed. |
|
Hello @davidpil2002 , do you know when the new sonic-broadcom.bin file containing the PR for mokutil absence will be ready for download in the supported platform page? |
|
this PR is ready. |
|
there is some build issue about some unitest of hostcfgd, but my commits in the PR are not related. |
|
Thanks @davidpil2002! Do you think we can test the images this monday? |
This fix its pending approvemt from community. |
|
Great :-) which branch should I select from the drop down list? |
the fixed its not merge, so basicly the fix it just in this PR that was created from master. |
|
Same issue on Ragile RA-B6510-48V8C, please someone approves this PR soon. |
@qiluo-msft kind reminder to review this PR. |
The older ONIE version does not support mokutil command. This backport changes will address the issue.
|
@ITJamie could you please confirm the fix is working for BRCM? we cannot fully test it. If so, I can go a head and merge it. |
|
@ITJamie We found other solution, using basicly by doing the follow command: The new fix PR: #14589 |
The older ONIE version does not support mokutil command. This backport changes will address the issue.
Why I did it
solution to BUG below/
#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
mokutilthis 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 if the tool exist, if not exist it will assume that you ONIE its older an proceed with the installation with grub.
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).
Which release branch to backport (provide reason below if selected)
Description for the changelog
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)