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 #!/bin/sh
git clone https://github.com/wrzlbrmft/bootsect 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 # install mkisofs
# recreate iso # recreate iso
cd ${EXTRACT}
mkisofs \ mkisofs \
-allow-limited-size \ -allow-limited-size \
-b ${BOOT} \ -b ${BOOT} \
@ -23,11 +24,11 @@ mkisofs \
-J -l -D -N -joliet-long -relaxed-filenames \ -J -l -D -N -joliet-long -relaxed-filenames \
-V "WINSP" \ -V "WINSP" \
-o winsp.iso \ -o winsp.iso \
${EXTRACT} .
# clean up bootsect cp winsp.iso ../
rm bootsect.bin
# clean up bootsect and iso extract
cd ..
rm -rf bootsect/ rm -rf bootsect/
# clean up iso extract
sudo rm -rf ${EXTRACT} sudo rm -rf ${EXTRACT}