rhel85: append "boot" package sets to "packages"

If an image type is marked "bootable", append the package set with  name
"boot".
This commit is contained in:
Achilleas Koutsou 2021-05-17 18:26:13 +02:00 committed by Alexander Todorov
parent e8dd5b3248
commit 5f53b3865f

View file

@ -197,6 +197,11 @@ func (t *imageType) PackageSets(bp blueprint.Blueprint) map[string]rpmmd.Package
mergedSets["build"] = buildSet
}
// package sets from flags
if t.bootable {
mergedSets["packages"] = mergedSets["packages"].Append(archSets["boot"]).Append(distroSets["boot"])
}
// blueprint packages
bpPackages := bp.GetPackages()
timezone, _ := bp.Customizations.GetTimezoneSettings()