Update install.sh

This commit is contained in:
Kroese 2024-01-22 13:15:12 +01:00 committed by GitHub
parent 6fb9b0a491
commit 55afcf1cfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,7 +85,8 @@ if [ -f "$STORAGE/$BASE" ]; then
return 0 return 0
fi fi
info "ISO file "$STORAGE/$BASE" needs to be prepared..." CUSTOM="$BASE"
info "Custom ISO file $BASE needs to be prepared..."
fi fi
@ -173,7 +174,7 @@ if [ ! -f "$DIR/$ETFS" ] || [ ! -f "$DIR/$EFISYS" ]; then
warn "failed to locate file 'efisys_noprompt.bin' in ISO image, $FB" warn "failed to locate file 'efisys_noprompt.bin' in ISO image, $FB"
fi fi
# Mark ISO as prepared # Mark ISO as prepared
printf '\x16' | dd of=$OUT bs=1 seek=0 count=1 conv=notrunc > /dev/null printf '\x16' | dd of=$ISO bs=1 seek=0 count=1 conv=notrunc > /dev/null
mv -f "$ISO" "$STORAGE/$BASE" mv -f "$ISO" "$STORAGE/$BASE"
rm -rf "$TMP" rm -rf "$TMP"
return 0 return 0