Use grub binaries and libs from rootfs (#760)

This commit is contained in:
Itxaka
2025-04-25 10:43:21 +02:00
committed by GitHub
parent 5d5a52930f
commit d0f0710c78
12 changed files with 220 additions and 45 deletions

View File

@@ -60,7 +60,7 @@ func selectBootEntryGrub(cfg *config.Config, entry string) error {
vars := map[string]string{
"next_entry": entry,
}
err = utils.SetPersistentVariables("/oem/grubenv", vars, cfg.Fs)
err = utils.SetPersistentVariables("/oem/grubenv", vars, cfg)
if err != nil {
cfg.Logger.Errorf("could not set default boot entry: %s\n", err)
return err