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 7fa3999..faaa3df 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
 ###############################################################################