archinstall/test_tooling/mkosi
Anton Hvornum af2120c0e9
mkosi for test image builds (#4539)
Added a `mkosi` profile as well as organized test tooling a bit.

---------

Co-authored-by: 0xdeadd <clintdotphillips@gmail.com>
2026-05-23 13:49:54 +02:00
..
mkosi.cache mkosi for test image builds (#4539) 2026-05-23 13:49:54 +02:00
mkosi.extra mkosi for test image builds (#4539) 2026-05-23 13:49:54 +02:00
mkosi.output mkosi for test image builds (#4539) 2026-05-23 13:49:54 +02:00
mkosi.profiles mkosi for test image builds (#4539) 2026-05-23 13:49:54 +02:00
README.md mkosi for test image builds (#4539) 2026-05-23 13:49:54 +02:00
mkosi.conf mkosi for test image builds (#4539) 2026-05-23 13:49:54 +02:00
mkosi.postinst.chroot mkosi for test image builds (#4539) 2026-05-23 13:49:54 +02:00
mkosi.version mkosi for test image builds (#4539) 2026-05-23 13:49:54 +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.