File openSUSE-MicroOS.kiwi of Package openSUSE-MicroOS-UKI
<?xml version="1.0" encoding="utf-8"?>
<!-- OBS-Profiles: @BUILD_FLAVOR@ -->
<image schemaversion="7.4" name="openSUSE-MicroOS-UKI" displayname="openSUSE MicroOS UKI">
<description type="system">
<author>Valentin Lefebvre</author>
<contact>vlefebvre@opensuse.org</contact>
<specification>openSUSE MicroOS</specification>
</description>
<profiles>
<profile name="kvm-and-xen" description="kvm-and-xen" arch="x86_64"/>
<profile name="kvm-and-xen-sdboot" description="kvm-and-xen with systemd-boot" arch="x86_64"/>
</profiles>
<preferences>
<version>16.0.0</version>
<packagemanager>zypper</packagemanager>
<bootloader-theme>openSUSE</bootloader-theme>
<rpm-excludedocs>true</rpm-excludedocs>
<locale>en_US</locale>
<keytable>fr-azerty</keytable>
<timezone>Europe/Paris</timezone>
</preferences>
<preferences profiles="kvm-and-xen" arch="x86_64">
<type
image="oem"
filesystem="btrfs"
format="qcow2"
firmware="uefi"
bootpartition="false"
initrd_system="none"
efipartsize="1000"
bootkernel="custom"
devicepersistency="by-uuid"
btrfs_quota_groups="true"
btrfs_root_is_snapshot="true"
btrfs_root_is_readonly_snapshot="true"
>
<!-- editbootinstall="editbootinstall_mbr.sh" -->
<bootloader name="grub2" console="gfxterm" />
<systemdisk>
<volume name="home"/>
<volume name="root"/>
<volume name="opt"/>
<volume name="srv"/>
<volume name="boot/grub2/i386-pc"/>
<volume name="boot/grub2/x86_64-efi" mountpoint="boot/grub2/x86_64-efi"/>
<volume name="usr/local"/>
<volume name="var" copy_on_write="false"/>
</systemdisk>
<size unit="G">24</size>
</type>
</preferences>
<preferences profiles="kvm-and-xen-sdboot">
<type
image="oem"
filesystem="btrfs"
format="qcow2"
firmware="uefi"
bootpartition="false"
initrd_system="none"
efipartsize="1000"
bootkernel="custom"
editbootinstall="editbootinstall_mbr.sh"
devicepersistency="by-uuid"
btrfs_root_is_snapshot="true"
btrfs_root_is_readonly_snapshot="true"
btrfs_quota_groups="true"
>
<bootloader name="custom"/>
<systemdisk>
<volume name="home"/>
<volume name="root"/>
<volume name="opt"/>
<volume name="srv"/>
<volume name="usr/local"/>
<volume name="var" copy_on_write="false"/>
</systemdisk>
<size unit="G">24</size>
</type>
</preferences>
<repository type="rpm-md" >
<source path="obsrepositories:/"/>
</repository>
<packages type="image">
<package name="live-add-yast-repos"/>
<!-- Apparently zypper (?) doesn't like having multiple patterns with the same name,
so avoid using namedCollection at least for basesystem -->
<package name="patterns-microos-basesystem"/>
<package name="patterns-microos-base-zypper"/>
<package name="patterns-microos-defaults"/>
<package name="patterns-microos-selinux"/>
<package name="kernel-default"/>
<!-- <package name="dracut-kiwi-oem-repart"/> -->
<!-- Make it easier to add encryption later, like with https://github.com/lnussel/addimageencryption -->
<package name="device-mapper"/>
<package name="cryptsetup"/>
<package name="combustion >= 1.2"/> <!-- New firstboot mechanism -->
<package name="jeos-firstboot"/>
<package name="ignition-dracut"/>
<!--UKI packages -->
<package name="uki-default"/>
</packages>
<packages type="image" profiles="kvm-and-xen">
<package name="growpart-generator"/>
<package name="patterns-base-bootloader"/>
<package name="grub2"/>
<package name="grub2-x86_64-efi"/>
<package name="grub2-snapper-plugin"/>
</packages>
<packages type="image" profiles="kvm-and-xen-sdboot">
<package name="growpart-generator"/>
<package name="systemd-boot"/>
<package name="sdbootutil"/>
<package name="sdbootutil-snapper"/>
<package name="sdbootutil-jeos-firstboot-enroll"/>
<package name="disk-encryption-tool"/>
<package name="dracut-pcr-signature"/>
<package name="systemd-experimental"/>
<package name="shim"/>
<package name="efibootmgr"/>
<package name="uefi_mbr" arch="x86_64"/>
</packages>
<packages type="image" profiles="kvm-and-xen">
<!-- KVM and Xen specific packages -->
<package name="xen-tools-domU" arch="x86_64"/>
<package name="qemu-guest-agent"/>
</packages>
<packages type="bootstrap">
<!-- Avoid that zypper picks the busybox-foo variant for those, that would fail later -->
<package name="coreutils"/>
<package name="gawk"/>
<package name="gzip"/>
<package name="hostname"/>
<!-- Avoid libressl -->
<package name="openssl"/>
<package name="filesystem"/>
<package name="glibc-locale-base"/>
<!-- So that https repos work for image package downloads -->
<package name="ca-certificates-mozilla"/>
<!-- TODO: Use the proper flavors once available -->
<package name="MicroOS-release-dvd"/>
</packages>
</image>