aboutsummaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2024-11-26 06:34:05 -0500
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2024-11-26 06:39:45 -0500
commite81733710d0cd733dcc8642288af4a9306a37e1f (patch)
treed79c55c1d2b45c0d817d9c7d81fff5e7883d7282
parent4943dc58a8c6d42a7219731b7c75963183753e22 (diff)
downloadkiwi-descriptions-e81733710d0cd733dcc8642288af4a9306a37e1f.tar.gz
kiwi-descriptions-e81733710d0cd733dcc8642288af4a9306a37e1f.zip
components/boot: Split out BootDiskCore aarch64 profile to force MBR
Many of the older supported AArch64 systems (particularly single board computers) require a legacy MBR (Master Boot Record) type partitioning to successfully boot.
-rw-r--r--components/boot.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/components/boot.xml b/components/boot.xml
index 7d3b3ea..2427eb7 100644
--- a/components/boot.xml
+++ b/components/boot.xml
@@ -6,7 +6,7 @@
<requires profile="BootCore"/>
</profile>
</profiles>
- <preferences profiles="BootDiskCore" arch="x86_64,aarch64">
+ <preferences profiles="BootDiskCore" arch="x86_64">
<type image="oem"
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="x-systemd.growfs,compress=zstd:1"
kernelcmdline="rhgb quiet" devicepersistency="by-uuid"
@@ -24,6 +24,24 @@
</oemconfig>
</type>
</preferences>
+ <preferences profiles="BootDiskCore" arch="aarch64">
+ <type image="oem"
+ filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="x-systemd.growfs,compress=zstd:1"
+ kernelcmdline="rhgb quiet" devicepersistency="by-uuid" force_mbr="true"
+ bootpartition="true" bootpartsize="1024" bootfilesystem="ext4" efipartsize="500" firmware="uefi"
+ rootfs_label="fedora"
+ >
+ <bootloader name="grub2" console="console" timeout="1" timeout_style="hidden"/>
+ <systemdisk name="fedora">
+ <volume name="@root=root"/>
+ <volume name="home" parent="/"/>
+ <volume name="var" parent="/"/>
+ </systemdisk>
+ <oemconfig>
+ <oem-resize>false</oem-resize>
+ </oemconfig>
+ </type>
+ </preferences>
<preferences profiles="BootDiskCore" arch="ppc64le">
<type image="oem"
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="x-systemd.growfs,compress=zstd:1"