distro/rhel9: update ami to new definitions

Add the image function and remove the pipeline function.
Remove the build package set: build packages are added to the pipeline
on-demand.
This commit is contained in:
Achilleas Koutsou 2022-11-02 18:21:27 +01:00 committed by Christian Kellner
parent e2f7e1aed4
commit bd4359ffd9

View file

@ -15,8 +15,7 @@ var (
filename: "image.raw",
mimeType: "application/octet-stream",
packageSets: map[string]packageSetFunc{
buildPkgsKey: ec2BuildPackageSet,
osPkgsKey: ec2CommonPackageSet,
osPkgsKey: ec2CommonPackageSet,
},
packageSetChains: map[string][]string{
osPkgsKey: {osPkgsKey, blueprintPkgsKey},
@ -25,7 +24,7 @@ var (
bootable: true,
bootType: distro.LegacyBootType,
defaultSize: 10 * common.GibiByte,
pipelines: ec2Pipelines,
image: liveImage,
buildPipelines: []string{"build"},
payloadPipelines: []string{"os", "image"},
exports: []string{"image"},