archinstall/test_tooling/mkosi
Anton Hvornum b84bf7fad4
Added networking to UKI, and added a qemu helper script that can boot the UKI as well as the resulting HDD setups (with OVMF vars being persistent)
2026-05-23 11:50:27 +02:00
..
mkosi.cache Added final packages for testing archinstall 2026-05-10 20:37:05 +02:00
mkosi.extra Added networking to UKI, and added a qemu helper script that can boot the UKI as well as the resulting HDD setups (with OVMF vars being persistent) 2026-05-23 11:50:27 +02:00
mkosi.output Added a mkosi.output/ folder to tidy things up 2026-05-10 22:15:51 +02:00
mkosi.profiles Added missing packages for archinstall to work (more might be needed, if different disk filesystems are used. 2026-05-12 20:35:13 +02:00
README.md Added a small readme on how to use mkosi with archinstall 2026-05-12 20:57:43 +02:00
mkosi.conf Added final packages for testing archinstall 2026-05-10 20:37:05 +02:00
mkosi.postinst.chroot Added missing packages for archinstall to work (more might be needed, if different disk filesystems are used. 2026-05-12 20:35:13 +02:00
mkosi.version Added networking to UKI, and added a qemu helper script that can boot the UKI as well as the resulting HDD setups (with OVMF vars being persistent) 2026-05-23 11:50:27 +02:00

README.md

To build

mkosi build -B

To run

mkosi qemu \
    --drive=archinstall_small:25G \
    -- \
    -device nvme,serial=archinstall_small,drive=archinstall_small

note: in order to boot the installation, we need to disable UKI being added to -kernel. I don't know of a way to do this yet, unless we tinker with mkosi/qemu.py - 6f3c20802b - in which case we could do: mkosi qemu --drive=archinstall_small:25G -- -device nvme,serial=archinstall_small,drive=archinstall_small,bootindex=0 -kernel none but it still won't boot properly.