fix: overlay install in image mode

Since bootloader interface got refactored to support rootless `ExtraInstallStep` needs to be handled in `GenerateAssets`.

Signed-off-by: Noel Georgi <git@frezbo.dev>
This commit is contained in:
Noel Georgi 2025-12-25 14:18:23 +05:30
parent 77086694d1
commit 10d0cfd93a
No known key found for this signature in database
GPG Key ID: 21A9F444075C9E36
2 changed files with 6 additions and 6 deletions

View File

@ -137,6 +137,12 @@ func (c *Config) GenerateAssets(efiAssetsPath string, opts options.InstallOption
})
}
if opts.ExtraInstallStep != nil {
if err := opts.ExtraInstallStep(); err != nil {
return nil, err
}
}
return partitionOptions, nil
}

View File

@ -78,12 +78,6 @@ func (c *Config) Install(opts options.InstallOptions) (*options.InstallResult, e
return err
}
if opts.ExtraInstallStep != nil {
if err := opts.ExtraInstallStep(); err != nil {
return err
}
}
return nil
},
[]blkid.ProbeOption{