U-Boot does not support XFS and this causes significant issues when trying to boot Fedora Server on single board computers. Resolve this by using ext4 here, as all U-Boot variants generally support this.
207 lines
6.7 KiB
XML
207 lines
6.7 KiB
XML
<image>
|
|
<profiles>
|
|
<profile name="ServerCore" description="Server Edition core packages">
|
|
<requires profile="BaseCommon"/>
|
|
<requires profile="BootCore"/>
|
|
</profile>
|
|
<profile name="ServerVMDisk" description="Server Edition VM disk configuration">
|
|
<requires profile="ServerCore"/>
|
|
</profile>
|
|
<profile name="ServerDisk" description="Server Edition disk configuration">
|
|
<requires profile="ServerCore"/>
|
|
</profile>
|
|
<profile name="Server-Guest-Generic" description="Generic Server Guest Image">
|
|
<requires profile="ServerVMDisk"/>
|
|
</profile>
|
|
<profile name="Server-Host-Generic" description="Generic Server Host Image">
|
|
<requires profile="ServerDisk"/>
|
|
</profile>
|
|
</profiles>
|
|
<preferences profiles="ServerVMDisk" arch="x86_64,aarch64">
|
|
<type image="oem" format="qcow2"
|
|
filesystem="xfs"
|
|
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
|
devicepersistency="by-uuid"
|
|
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi"
|
|
rootfs_label="fedora"
|
|
>
|
|
<bootloader name="grub2" console="serial" timeout="0"/>
|
|
<size unit="G">10</size>
|
|
<systemdisk>
|
|
<volume name="@root"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<preferences profiles="ServerVMDisk" arch="ppc64le">
|
|
<type image="oem" format="qcow2"
|
|
filesystem="xfs"
|
|
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
|
devicepersistency="by-uuid"
|
|
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" firmware="ofw"
|
|
rootfs_label="fedora"
|
|
>
|
|
<bootloader name="grub2" console="serial" timeout="0"/>
|
|
<size unit="G">10</size>
|
|
<systemdisk>
|
|
<volume name="@root"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<preferences profiles="ServerVMDisk" arch="s390x">
|
|
<type image="oem" format="qcow2"
|
|
filesystem="xfs"
|
|
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
|
devicepersistency="by-uuid"
|
|
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs"
|
|
rootfs_label="fedora"
|
|
>
|
|
<bootloader name="zipl" timeout="1"/>
|
|
<size unit="G">10</size>
|
|
<systemdisk>
|
|
<volume name="@root"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<preferences profiles="ServerVMDisk" arch="riscv64">
|
|
<type image="oem" format="qcow2"
|
|
filesystem="xfs"
|
|
kernelcmdline="earlycon"
|
|
devicepersistency="by-uuid"
|
|
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
|
rootfs_label="fedora"
|
|
>
|
|
<bootloader name="grub2" console="serial" timeout="0"/>
|
|
<size unit="G">10</size>
|
|
<systemdisk>
|
|
<volume name="@root"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<preferences profiles="ServerDisk" arch="x86_64">
|
|
<type image="oem"
|
|
filesystem="xfs"
|
|
devicepersistency="by-uuid"
|
|
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi"
|
|
rootfs_label="fedora"
|
|
>
|
|
<bootloader name="grub2" console="serial" timeout="3" timeout_style="menu"/>
|
|
<size unit="G">10</size>
|
|
<systemdisk>
|
|
<volume name="@root"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<preferences profiles="ServerDisk" arch="aarch64">
|
|
<type image="oem"
|
|
filesystem="xfs"
|
|
devicepersistency="by-uuid" force_mbr="true"
|
|
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
|
rootfs_label="fedora"
|
|
>
|
|
<bootloader name="grub2" console="serial" timeout="3" timeout_style="menu"/>
|
|
<size unit="G">10</size>
|
|
<systemdisk>
|
|
<volume name="@root"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<preferences profiles="ServerDisk" arch="ppc64le">
|
|
<type image="oem"
|
|
filesystem="xfs"
|
|
devicepersistency="by-uuid"
|
|
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" firmware="ofw"
|
|
rootfs_label="fedora"
|
|
>
|
|
<bootloader name="grub2" console="serial" timeout="3" timeout_style="menu"/>
|
|
<size unit="G">10</size>
|
|
<systemdisk>
|
|
<volume name="@root"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<preferences profiles="ServerDisk" arch="s390x">
|
|
<type image="oem"
|
|
filesystem="xfs"
|
|
devicepersistency="by-uuid"
|
|
bootpartition="true" bootpartsize="1000" bootfilesystem="xfs"
|
|
rootfs_label="fedora"
|
|
>
|
|
<bootloader name="zipl" timeout="3"/>
|
|
<size unit="G">10</size>
|
|
<systemdisk>
|
|
<volume name="@root"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<preferences profiles="ServerDisk" arch="riscv64">
|
|
<type image="oem"
|
|
filesystem="xfs"
|
|
kernelcmdline="earlycon"
|
|
devicepersistency="by-uuid"
|
|
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
|
rootfs_label="fedora"
|
|
>
|
|
<bootloader name="grub2" console="serial" timeout="3" timeout_style="menu"/>
|
|
<size unit="G">10</size>
|
|
<systemdisk>
|
|
<volume name="@root"/>
|
|
</systemdisk>
|
|
<oemconfig>
|
|
<oem-resize>false</oem-resize>
|
|
</oemconfig>
|
|
</type>
|
|
</preferences>
|
|
<packages type="bootstrap" patternType="plusRecommended" profiles="ServerCore">
|
|
<package name="fedora-release-server"/>
|
|
</packages>
|
|
<packages type="image" patternType="plusRecommended" profiles="ServerCore">
|
|
<namedCollection name="server-product-environment"/>
|
|
<namedCollection name="domain-client"/>
|
|
<namedCollection name="arm-tools" arch="aarch64"/>
|
|
<ignore name="initial-setup-gui"/>
|
|
<ignore name="plymouth"/>
|
|
<package name="glibc-all-langpacks"/>
|
|
<package name="initial-setup"/>
|
|
<package name="lvm2"/>
|
|
<package name="xfsprogs"/>
|
|
</packages>
|
|
<packages type="image" patternType="plusRecommended" profiles="Server-Guest-Generic">
|
|
<ignore name="dracut-config-rescue"/>
|
|
<ignore name="kernel"/>
|
|
<ignore name="*-firmware"/>
|
|
<ignore name="smartmontools"/>
|
|
<ignore name="smartmontools-selinux"/>
|
|
<namedCollection name="guest-agents"/>
|
|
</packages>
|
|
<packages type="image" patternType="plusRecommended" profiles="Server-Host-Generic">
|
|
<namedCollection name="container-management"/>
|
|
<package name="dracut-config-rescue"/>
|
|
<package name="kernel"/>
|
|
<package name="linux-firmware"/>
|
|
</packages>
|
|
</image>
|