#23 Add s390x variant for Cloud-Base-Generic
Merged 2 months ago by ngompa. Opened 2 months ago by ngompa.

file modified
+1
@@ -14,6 +14,7 @@ 

  		<package name="grub2-pc" arch="x86_64"/>

  		<package name="grub2-pc-modules" arch="x86_64"/>

  		<package name="grub2-ppc64le" arch="ppc64le"/>

+ 		<package name="s390utils-base" arch="s390x"/>

  		<package name="shim-signed-aa64" arch="aarch64"/>

  		<package name="shim-signed-x64" arch="x86_64"/>

  		<package name="kernel-core"/>

file modified
+20
@@ -129,6 +129,26 @@ 

  			</oemconfig>

  		</type>

  	</preferences>

+ 	<preferences profiles="Cloud-Base-Generic" arch="s390x">

+ 		<type image="oem" format="qcow2"

+ 		      filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"

+ 		      kernelcmdline="no_timer_check net.ifnames=0 console=tty1 console=ttyS0,115200n8 dasd_mod.dasd=ipldev"

+ 		      devicepersistency="by-uuid" target_blocksize="4096"

+ 		      bootpartition="true" bootpartsize="1000" bootfilesystem="ext4"

+ 		      rootfs_label="fedora"

+ 		      >

+ 			<bootloader name="zipl" targettype="CDL" timeout="1"/>

+ 			<size unit="G">5</size>

+ 			<systemdisk>

+ 				<volume name="@root=root"/>

+ 				<volume name="home" parent="/"/>

+ 				<volume name="var" parent="/"/>

+ 			</systemdisk>

+ 			<oemconfig>

+ 				<oem-resize>false</oem-resize>

+ 			</oemconfig>

+ 		</type>

+ 	</preferences>

  	<preferences profiles="Cloud-Base-UEFI-UKI" arch="x86_64,aarch64">

  		<type image="oem" format="qcow2"

  		      firmware="uefi" efipartsize="1000"

This allows building cloud images for Z systems.

This is currently blocked on kiwi 10.0.4 release.

rebased onto e39b7db2f9490b531df3ca0f76ece9dc125bfc14

2 months ago

rebased onto 12cb853

2 months ago

Pull-Request has been merged by ngompa

2 months ago