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 | #!/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/ | ||||||
|  |  | ||||||
							
								
								
									
										11
									
								
								src/iso.sh
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								src/iso.sh
									
										
									
									
									
								
							|  | @ -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} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue