]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mkosi-vm: do not install bootloaders on non-UEFI arches
authorLuca Boccassi <luca.boccassi@gmail.com>
Thu, 3 Jul 2025 12:50:12 +0000 (13:50 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 15 Jul 2025 12:55:34 +0000 (13:55 +0100)
‣ Cannot make image bootable on UEFI on ppc64-le architecture

Can still boot with direct kernel booting on qemu, so disable
for now

mkosi/resources/mkosi-vm/mkosi.conf.d/bootloader.conf [new file with mode: 0644]

diff --git a/mkosi/resources/mkosi-vm/mkosi.conf.d/bootloader.conf b/mkosi/resources/mkosi-vm/mkosi.conf.d/bootloader.conf
new file mode 100644 (file)
index 0000000..2fd9dc3
--- /dev/null
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Architecture=!uefi
+
+[Content]
+# Non-UEFI arches are not yet setup for bootloader support,
+# but can still do direct boot in qemu
+BiosBootloader=none
+Bootloader=none