Skip to content

Commit 24f2cac

Browse files
committed
osbuild-manifests: enable kubevirt image for s390x
https://issues.redhat.com/browse/OCPBUGS-54751
1 parent 227103e commit 24f2cac

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

src/osbuild-manifests/coreos.osbuild.s390x.mpp.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,3 +672,5 @@ pipelines:
672672
path: platform.qemu-secex.ipp.yaml
673673
- mpp-import-pipelines:
674674
path: platform.live.ipp.yaml
675+
- mpp-import-pipelines:
676+
path: platform.kubevirt.ipp.yaml

src/osbuild-manifests/platform.kubevirt.ipp.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,41 @@ pipelines:
5252
partition:
5353
mpp-format-int: '{image.layout[''boot''].partnum}'
5454
target: /boot
55+
- mpp-if: arch == 's390x'
56+
then:
57+
type: org.osbuild.zipl.inst
58+
options:
59+
kernel: "1"
60+
kernel_opts_append:
61+
- ignition.firstboot
62+
location:
63+
mpp-format-int: '{image.layout[''boot''].start}'
64+
devices:
65+
disk:
66+
type: org.osbuild.loopback
67+
options:
68+
filename: disk.img
69+
partscan: true
70+
mounts:
71+
- name: root
72+
type: org.osbuild.xfs
73+
source: disk
74+
partition:
75+
mpp-format-int: '{image.layout[''root''].partnum}'
76+
target: /
77+
- name: boot
78+
type: org.osbuild.ext4
79+
source: disk
80+
partition:
81+
mpp-format-int: '{image.layout[''boot''].partnum}'
82+
target: /boot
83+
inputs:
84+
disk_image:
85+
type: org.osbuild.files
86+
origin: org.osbuild.pipeline
87+
references:
88+
name:raw-kubevirt-image:
89+
file: disk.img
5590
- name: qemu-kubevirt-image
5691
build:
5792
mpp-format-string: '{host_as_buildroot}'

0 commit comments

Comments
 (0)