mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
Update install.sh
This commit is contained in:
parent
6fb9b0a491
commit
55afcf1cfe
1 changed files with 5 additions and 4 deletions
|
|
@ -85,7 +85,8 @@ if [ -f "$STORAGE/$BASE" ]; then
|
|||
return 0
|
||||
fi
|
||||
|
||||
info "ISO file "$STORAGE/$BASE" needs to be prepared..."
|
||||
CUSTOM="$BASE"
|
||||
info "Custom ISO file $BASE needs to be prepared..."
|
||||
|
||||
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"
|
||||
fi
|
||||
# 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"
|
||||
rm -rf "$TMP"
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue