diff --git a/src/install.sh b/src/install.sh index bfbb583..341182b 100644 --- a/src/install.sh +++ b/src/install.sh @@ -250,8 +250,6 @@ else [ -n "$XML" ] && error "Warning: XML file '$XML' does not exist, $FB" && echo fi -info "Generating new ISO image for installation..." - ETFS="boot/etfsboot.com" EFISYS="efi/microsoft/boot/efisys_noprompt.bin" @@ -264,6 +262,8 @@ if [ -f "$DIR/$ETFS" ]; then ISO="$TMP/$LABEL.tmp" rm -f "$ISO" + info "Generating new ISO image for installation..." + genisoimage -b "$ETFS" -no-emul-boot -c "$CAT" -iso-level 4 -J -l -D -N -joliet-long -relaxed-filenames -quiet -V "$LABEL" -udf \ -boot-info-table -eltorito-alt-boot -eltorito-boot "$EFISYS" -no-emul-boot -o "$ISO" -allow-limited-size "$DIR"