Remove entries on install (#213)

This commit is contained in:
Itxaka
2024-01-26 17:41:23 +01:00
committed by GitHub
parent 8696eb16d2
commit f6f113128d
5 changed files with 93 additions and 2 deletions

View File

@@ -571,6 +571,8 @@ func NewUkiInstallSpec(cfg *Config) (*v1.InstallUkiSpec, error) {
// TODO: Which key to use? install or install-uki?
err := unmarshallFullSpec(cfg, "install", spec)
// TODO: Get the actual source size to calculate the image size and partitions size for at least 3 UKI images
// Add default values for the skip partitions for our default entries
spec.SkipEntries = append(spec.SkipEntries, constants.UkiDefaultSkipEntries()...)
return spec, err
}