RHEL-84: panic error on tar image on s390x
Building `tar` image for `s390x` on RHEL-84 ends with panic: "s390x image must have a partition table, this is a programming error" A tar image should not need a partition table, so this error does not make sense.
This commit is contained in:
parent
967c8734a1
commit
287e63735c
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ func (t *imageType) pipeline(c *blueprint.Customizations, options distro.ImageOp
|
|||
p.SetBuild(t.buildPipeline(repos, *t.arch, buildPackageSpecs), "org.osbuild.rhel84")
|
||||
}
|
||||
|
||||
if t.arch.Name() == distro.S390xArchName {
|
||||
if t.arch.Name() == distro.S390xArchName && t.bootable {
|
||||
if pt == nil {
|
||||
panic("s390x image must have a partition table, this is a programming error")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue