mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
Update install.sh
This commit is contained in:
parent
198a55e0d0
commit
b2c728b369
1 changed files with 3 additions and 4 deletions
|
|
@ -173,7 +173,7 @@ if [ ! -f "$DIR/$ETFS" ] || [ ! -f "$DIR/$EFISYS" ]; then
|
|||
else
|
||||
warn "failed to locate file 'efisys_noprompt.bin' in ISO image, $FB"
|
||||
fi
|
||||
# Mark ISO as prepared
|
||||
# Mark ISO as prepared via magic byte
|
||||
printf '\x16' | dd of=$ISO bs=1 seek=0 count=1 conv=notrunc > /dev/null
|
||||
[[ "$ISO" != "$STORAGE/$BASE" ]] && mv -f "$ISO" "$STORAGE/$BASE"
|
||||
rm -rf "$TMP"
|
||||
|
|
@ -325,11 +325,10 @@ info "$MSG" && html "$MSG"
|
|||
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 "$OUT" -allow-limited-size "$DIR"
|
||||
|
||||
[ -n "$CUSTOM" ] && rm -f "$STORAGE/$CUSTOM"
|
||||
|
||||
# Mark ISO as prepared
|
||||
# Mark ISO as prepared via magic byte
|
||||
printf '\x16' | dd of=$OUT bs=1 seek=0 count=1 conv=notrunc > /dev/null
|
||||
|
||||
[ -n "$CUSTOM" ] && rm -f "$STORAGE/$CUSTOM"
|
||||
mv "$OUT" "$STORAGE/$BASE"
|
||||
rm -rf "$TMP"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue