[Etherboot-developers] patch to 5.0.2
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ke...@us...> - 2001-06-24 15:16:12
|
This one only affects people who want to generate .pxe images. .pxe Etherboot images can be netbooted from a PXE bootrom, allowing you to chain from PXE to Etherboot. This can be useful if don't want to replace the PXE ROM with an Etherboot ROM and you don't want to set up PXE boot infrastructure or want just one set of LTSP images. Marty Connor drew my attention to the fact that the Makefile rules don't quite work for .pxe images. It's a deficiency in genrules.pl. Applying the patch below will fix it. But Marty also tells me that rom-o-matic.net now has the patched 5.0.2 distribution so you can get your images from there instead of compiling Etherboot. --- ../../etherboot-5.0.2/src/genrules.pl Mon Apr 23 23:51:53 2001 +++ ./genrules.pl Mon Jun 25 00:16:36 2001 @@ -141,6 +141,14 @@ cat \$(PRZLOADER) \$< > \$@ bin/makerom \$(MAKEROM_\$*) -p $ids -i\$(IDENT32) \$@ +bin32/$rom.pxe: bin32/$drv.img \$(PXELOADER) + cat \$(PXELOADER) \$< > \$@ + bin/makerom -x \$(MAKEROM_\$*) -p $ids -i\$(IDENT32) \$@ + +bin32/$rom.lzpxe: bin32/$drv.huf \$(PXEZLOADER) + cat \$(PXEZLOADER) \$< > \$@ + bin/makerom -x \$(MAKEROM_\$*) -p $ids -i\$(IDENT32) \$@ + EOF } foreach $rom (sort keys %roms_isa) { @@ -149,6 +157,10 @@ bin32/$rom.rom: bin32/$rom.img \$(RLOADER) bin32/$rom.lzrom: bin32/$rom.huf \$(RZLOADER) + +bin32/$rom.pxe: bin32/$rom.img \$(PXELOADER) + +bin32/$rom.lzpxe: bin32/$rom.huf \$(PXEZLOADER) EOF } |