Improve deps (#431)

This commit is contained in:
Itxaka
2025-02-18 14:41:54 +01:00
committed by GitHub
parent db7878bce2
commit a597656fe0
6 changed files with 215 additions and 142 deletions

View File

@@ -12,7 +12,6 @@ import (
"syscall"
"time"
"github.com/foxboron/go-uefi/efi"
"github.com/hashicorp/go-multierror"
cnst "github.com/kairos-io/immucore/internal/constants"
internalUtils "github.com/kairos-io/immucore/internal/utils"
@@ -159,7 +158,7 @@ func (s *State) UKIMountBaseSystem(g *herd.Graph) error {
}
// Now that we have all the mounts, check if we got secureboot enabled
if !efi.GetSecureBoot() && len(internalUtils.ReadCMDLineArg("rd.immucore.securebootdisabled")) == 0 {
if !internalUtils.GetSecureboot() && len(internalUtils.ReadCMDLineArg("rd.immucore.securebootdisabled")) == 0 {
internalUtils.RebootOrWait("Secure boot is not enabled", nil)
}
return err