distro/rhel86: conditional greenboot packages for centos
CS8 and RHEL 8.6 share package sets but the greenboot package names were only changed in RHEL 8.6.
This commit is contained in:
parent
e0822bff44
commit
59dcab700e
1 changed files with 15 additions and 1 deletions
|
|
@ -450,11 +450,25 @@ func edgeCommitPackageSet(t *imageType) rpmmd.PackageSet {
|
|||
"bash-completion", "tmux", "ima-evm-utils", "audit", "podman",
|
||||
"container-selinux", "skopeo", "criu", "slirp4netns",
|
||||
"fuse-overlayfs", "clevis", "clevis-dracut", "clevis-luks",
|
||||
"greenboot", "greenboot-default-health-checks",
|
||||
"greenboot",
|
||||
},
|
||||
Exclude: []string{"rng-tools"},
|
||||
}
|
||||
|
||||
var greenbootExtras rpmmd.PackageSet
|
||||
if t.arch.distro.isRHEL() {
|
||||
greenbootExtras.Include = []string{"greenboot-default-health-checks"}
|
||||
} else {
|
||||
greenbootExtras.Include = []string{
|
||||
"greenboot-grub2",
|
||||
"greenboot-reboot",
|
||||
"greenboot-rpm-ostree-grub2",
|
||||
"greenboot-status",
|
||||
}
|
||||
}
|
||||
|
||||
ps = ps.Append(greenbootExtras)
|
||||
|
||||
ps = ps.Append(bootPackageSet(t))
|
||||
|
||||
switch t.arch.Name() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue