runner: add platform-python only for RHEL 8+
No platform-python for RHEL 7.
This commit is contained in:
parent
c12f2c61e2
commit
cef5f3d3bd
1 changed files with 4 additions and 3 deletions
|
|
@ -13,14 +13,15 @@ func (r *RHEL) String() string {
|
|||
|
||||
func (p *RHEL) GetBuildPackages() []string {
|
||||
packages := []string{
|
||||
"glibc", // ldconfig
|
||||
"platform-python", // osbuild
|
||||
"glibc", // ldconfig
|
||||
}
|
||||
if p.Major >= 8 {
|
||||
packages = append(packages,
|
||||
"systemd", // systemd-tmpfiles and systemd-sysusers
|
||||
"systemd", // systemd-tmpfiles and systemd-sysusers
|
||||
"platform-python", // osbuild
|
||||
)
|
||||
}
|
||||
|
||||
if p.Major < 9 {
|
||||
packages = append(packages,
|
||||
// The RHEL 8 runner in osbuild runs with platform-python but
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue