]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Make test for uefi boot protocol on Photon reachable 456/head
authorJoerg Behrmann <behrmann@physik.fu-berlin.de>
Sat, 18 Jul 2020 14:51:02 +0000 (16:51 +0200)
committerJoerg Behrmann <behrmann@physik.fu-berlin.de>
Sat, 18 Jul 2020 14:57:42 +0000 (16:57 +0200)
Fixes #455

mkosi

diff --git a/mkosi b/mkosi
index 1008cb4f3f55268faa663275c68427f079b7c1de..9e1a51d2b597475dcea94029ca8dc965b90f2031 100755 (executable)
--- a/mkosi
+++ b/mkosi
@@ -4391,8 +4391,8 @@ def load_args(args: CommandLineArguments) -> CommandLineArguments:
                                                                        Distribution.photon):
             die(f"bios boot not implemented yet for {args.distribution}")
 
-            if "uefi" in args.boot_protocols and args.distribution == Distribution.photon:
-                die(f"uefi boot not supported for {args.distribution}")
+        if "uefi" in args.boot_protocols and args.distribution == Distribution.photon:
+            die(f"uefi boot not supported for {args.distribution}")
 
     if args.encrypt is not None:
         if not args.output_format.is_disk():