mirror of
https://github.com/siderolabs/talos.git
synced 2026-05-04 20:06:18 +02:00
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:
parent
77086694d1
commit
10d0cfd93a
@ -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
|
||||
}
|
||||
|
||||
|
||||
@ -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{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user