changed locations for mkisofs's sake
This commit is contained in:
		
							parent
							
								
									2358079c3c
								
							
						
					
					
						commit
						3dbf701c35
					
				
					 2 changed files with 7 additions and 6 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| git clone https://github.com/wrzlbrmft/bootsect | ||||
| cp bootsect/bootsect.bin . | ||||
| cp bootsect/bootsect.bin win/ | ||||
|  |  | |||
							
								
								
									
										11
									
								
								src/iso.sh
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								src/iso.sh
									
										
									
									
									
								
							|  | @ -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} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue