debian-forge-composer/internal/platform/s390x.go
Ondřej Budai ff21f2935f distro/rhel9: fix /usr/sbin/zipl unavailable in the buildroot
The big rewrite of rhel9 distro omitted installing s390utils-base into the
buildroot. This caused the org.osbuild.zipl.inst stage because of missing
/usr/sbin/zipl.

This commit introduces s390utils-base back into the buildroot which fixes
building of the s390x images.

I verified it by building the RHEL 9.1 qcow2 image and booting it using
libvirt.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-12-08 16:11:52 +01:00

24 lines
342 B
Go

package platform
type S390X struct {
BasePlatform
BIOS bool
}
func (p *S390X) GetArch() Arch {
return ARCH_S390X
}
func (p *S390X) GetPackages() []string {
return []string{
"dracut-config-generic",
"s390utils-base",
"s390utils-core",
}
}
func (p *S390X) GetBuildPackages() []string {
return []string{
"s390utils-base",
}
}