]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Only build test images in bootable mode when using the qemu verb
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 5 Apr 2022 13:03:01 +0000 (15:03 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 14 Apr 2022 20:35:40 +0000 (22:35 +0200)
mkosi/machine.py

index 7498e2a7378398dd3e268ea473d03432f1ef470a..01b9f70af8fbd7e055c0c3e069faeff72bf28d6a 100644 (file)
@@ -63,8 +63,8 @@ class Machine:
         tmp.force = 1
         tmp.autologin = True
         tmp.ephemeral = True
-        tmp.bootable = True
         if tmp.verb == Verb.qemu:
+            tmp.bootable = True
             tmp.qemu_headless = True
             tmp.hostonly_initrd = True
             tmp.netdev = True