mirror of
https://github.com/kairos-io/immucore.git
synced 2025-08-17 21:57:10 +00:00
Do not fail if we cant measure
This commit is contained in:
parent
424392b390
commit
76e605d9fd
@ -465,9 +465,8 @@ func (s *State) UKIMountBaseSystem(g *herd.Graph) error {
|
|||||||
output, err := internalUtils.CommandWithPath("/usr/lib/systemd/systemd-pcrphase --graceful enter-initrd")
|
output, err := internalUtils.CommandWithPath("/usr/lib/systemd/systemd-pcrphase --graceful enter-initrd")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
internalUtils.Log.Err(err).Msg("running systemd-pcrphase")
|
internalUtils.Log.Err(err).Msg("running systemd-pcrphase")
|
||||||
return err
|
internalUtils.Log.Debug().Str("out", output).Msg("systemd-pcrphase enter-initrd")
|
||||||
}
|
}
|
||||||
internalUtils.Log.Debug().Str("out", output).Msg("systemd-pcrphase enter-initrd")
|
|
||||||
return err
|
return err
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
@ -485,9 +484,8 @@ func (s *State) UKIBootInitDagStep(g *herd.Graph) error {
|
|||||||
output, err := internalUtils.CommandWithPath("/usr/lib/systemd/systemd-pcrphase --graceful leave-initrd")
|
output, err := internalUtils.CommandWithPath("/usr/lib/systemd/systemd-pcrphase --graceful leave-initrd")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
internalUtils.Log.Err(err).Msg("running systemd-pcrphase")
|
internalUtils.Log.Err(err).Msg("running systemd-pcrphase")
|
||||||
return err
|
internalUtils.Log.Debug().Str("out", output).Msg("systemd-pcrphase leave-initrd")
|
||||||
}
|
}
|
||||||
internalUtils.Log.Debug().Str("out", output).Msg("systemd-pcrphase leave-initrd")
|
|
||||||
// Print dag before exit, otherwise its never printed as we never exit the program
|
// Print dag before exit, otherwise its never printed as we never exit the program
|
||||||
internalUtils.Log.Info().Msg(s.WriteDAG(g))
|
internalUtils.Log.Info().Msg(s.WriteDAG(g))
|
||||||
internalUtils.Log.Debug().Msg("Executing init callback!")
|
internalUtils.Log.Debug().Msg("Executing init callback!")
|
||||||
|
Loading…
Reference in New Issue
Block a user