From 3f3a3332eddf8fdbf8e61f62319bb5767aabd130 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 19 Jan 2024 02:21:57 +0100 Subject: [PATCH] fix: Move message --- src/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"