]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
cdrom: mkisofs seems to not like the order of the arguments
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 16 Jul 2018 21:35:21 +0000 (22:35 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 16 Jul 2018 21:35:21 +0000 (22:35 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/cdrom

index 7fa3999c2ff4c92ac13738964e8c787b1347b569..faaa3dff12b2ea3695fe8137f38ab88313e5ac07 100644 (file)
--- a/lfs/cdrom
+++ b/lfs/cdrom
@@ -56,14 +56,6 @@ ISO_ARGS = -J -r -v \
 
 ISOHYBRID_ARGS =
 
 
 ISOHYBRID_ARGS =
 
-ifeq "$(EFI)" "1"
-       ISO_ARGS += \
-               -eltorito-alt-boot \
-               -e boot/isolinux/efiboot.img
-
-       ISOHYBRID_ARGS += --uefi
-endif
-
 ifeq "$(HAS_ISOLINUX)" "1"
        ISO_ARGS += \
                -no-emul-boot \
 ifeq "$(HAS_ISOLINUX)" "1"
        ISO_ARGS += \
                -no-emul-boot \
@@ -73,6 +65,14 @@ ifeq "$(HAS_ISOLINUX)" "1"
                -c boot/isolinux/boot.catalog
 endif
 
                -c boot/isolinux/boot.catalog
 endif
 
+ifeq "$(EFI)" "1"
+       ISO_ARGS += \
+               -eltorito-alt-boot \
+               -e boot/isolinux/efiboot.img
+
+       ISOHYBRID_ARGS += --uefi
+endif
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 ###############################################################################
 # Top-level Rules
 ###############################################################################