]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/cdrom
cdrom: mkisofs seems to not like the order of the arguments
[ipfire-2.x.git] / lfs / cdrom
index 7fa3999c2ff4c92ac13738964e8c787b1347b569..faaa3dff12b2ea3695fe8137f38ab88313e5ac07 100644 (file)
--- a/lfs/cdrom
+++ b/lfs/cdrom
@@ -56,14 +56,6 @@ ISO_ARGS = -J -r -v \
 
 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 \
@@ -73,6 +65,14 @@ ifeq "$(HAS_ISOLINUX)" "1"
                -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
 ###############################################################################