manifest/os: make grubLegacy and partitionTable optional

These should both default to being disabled, so move them away from the constructor.
Rename grubLegacy to BIOSPlatform and document that setting it enables BIOS support.
This commit is contained in:
Tom Gundersen 2022-07-04 23:14:52 +01:00 committed by Achilleas Koutsou
parent 64b4ad7c31
commit fd5180d52d
4 changed files with 31 additions and 29 deletions

View file

@ -31,7 +31,7 @@ func MyManifest(m *manifest.Manifest, options *MyOptions, repos []rpmmd.RepoConf
build := manifest.NewBuildPipeline(m, runner, repos)
// create a non-bootable OS tree containing the `core` comps group
os := manifest.NewOSPipeline(m, build, repos, nil, manifest.BOOTLOADER_GRUB, "", "")
os := manifest.NewOSPipeline(m, build, repos, manifest.BOOTLOADER_GRUB, "")
os.ExtraBasePackages = []string{
"@core",
}