copy bootsect.bin location
This commit is contained in:
		
							parent
							
								
									5e8eb65672
								
							
						
					
					
						commit
						6e9c16bdac
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		|  | @ -1,3 +1,4 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| git clone https://github.com/wrzlbrmft/bootsect | ||||
| cp bootsect/bootsect.bin . | ||||
|  |  | |||
|  | @ -7,13 +7,13 @@ src/bootsect.sh | |||
| 
 | ||||
| # add answerfile | ||||
| cp data/autounattend.xml ${EXTRACT} | ||||
| BOOT_PATCH="bootsect/bootsect.bin" | ||||
| BOOT="bootsect.bin" | ||||
| 
 | ||||
| # install mkisofs | ||||
| # recreate iso | ||||
| mkisofs \ | ||||
|     -allow-limited-size \ | ||||
|     -b ${BOOT_PATCH} \ | ||||
|     -b ${BOOT} \ | ||||
|     -no-emul-boot \ | ||||
|     -boot-load-seg 1984 \ | ||||
|     -boot-load-size 4 \ | ||||
|  | @ -23,5 +23,9 @@ mkisofs \ | |||
|     -o winsp.iso \ | ||||
|     ${EXTRACT} | ||||
| 
 | ||||
| # clean up bootsect | ||||
| rm bootsect.bin | ||||
| rm -rf bootsect/ | ||||
| 
 | ||||
| # clean up iso extract | ||||
| sudo rm -rf ${EXTRACT} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue