changed locations for mkisofs's sake

This commit is contained in:
cvoges12 2021-10-05 02:33:57 +00:00
parent 2358079c3c
commit 3dbf701c35
2 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
git clone https://github.com/wrzlbrmft/bootsect
cp bootsect/bootsect.bin .
cp bootsect/bootsect.bin win/

View File

@ -13,6 +13,7 @@ BOOT="bootsect.bin"
# install mkisofs
# recreate iso
cd ${EXTRACT}
mkisofs \
-allow-limited-size \
-b ${BOOT} \
@ -23,11 +24,11 @@ mkisofs \
-J -l -D -N -joliet-long -relaxed-filenames \
-V "WINSP" \
-o winsp.iso \
${EXTRACT}
.
# clean up bootsect
rm bootsect.bin
cp winsp.iso ../
# clean up bootsect and iso extract
cd ..
rm -rf bootsect/
# clean up iso extract
sudo rm -rf ${EXTRACT}