File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -648,3 +648,5 @@ pipelines:
648
648
path : platform.qemu-secex.ipp.yaml
649
649
- mpp-import-pipelines :
650
650
path : platform.live.ipp.yaml
651
+ - mpp-import-pipelines :
652
+ path : platform.kubevirt.ipp.yaml
Original file line number Diff line number Diff line change @@ -52,6 +52,43 @@ pipelines:
52
52
partition :
53
53
mpp-format-int : ' {image.layout['' boot'' ].partnum}'
54
54
target : /boot
55
+ # If on s390x then run zipl, which must run after the kernel
56
+ # arguments get finalized in the coreos.platform stage above
57
+ - mpp-if : arch == 's390x'
58
+ then :
59
+ type : org.osbuild.zipl.inst
60
+ options :
61
+ kernel : " 1"
62
+ kernel_opts_append :
63
+ - ignition.firstboot
64
+ location :
65
+ mpp-format-int : ' {image.layout['' boot'' ].start}'
66
+ devices :
67
+ disk :
68
+ type : org.osbuild.loopback
69
+ options :
70
+ filename : disk.img
71
+ partscan : true
72
+ mounts :
73
+ - name : root
74
+ type : org.osbuild.xfs
75
+ source : disk
76
+ partition :
77
+ mpp-format-int : ' {image.layout['' root'' ].partnum}'
78
+ target : /
79
+ - name : boot
80
+ type : org.osbuild.ext4
81
+ source : disk
82
+ partition :
83
+ mpp-format-int : ' {image.layout['' boot'' ].partnum}'
84
+ target : /boot
85
+ inputs :
86
+ disk_image :
87
+ type : org.osbuild.files
88
+ origin : org.osbuild.pipeline
89
+ references :
90
+ name:raw-kubevirt-image :
91
+ file : disk.img
55
92
- name : qemu-kubevirt-image
56
93
build :
57
94
mpp-format-string : ' {host_as_buildroot}'
You can’t perform that action at this time.
0 commit comments