Explorar el Código

Add build for iPXE on Google Compute Engine

Antony Messerli hace 8 años
padre
commit
bddf268ed4
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  1. 11 0
      script/prep-release.sh

+ 11 - 0
script/prep-release.sh

@@ -53,6 +53,17 @@ do
   mv bin/undionly.kpxe ../../build/ipxe/$ipxe_config-undionly.kpxe
 done
 
+# generate netboot.xyz iPXE disk for Google Compute Engine
+for ipxe_config in `ls ../../ipxe/disks/`
+do
+  make bin/ipxe.usb CONFIG=cloud EMBED=../../ipxe/disks/$ipxe_config \
+  TRUST=ca-ipxe-org.crt,ca-netboot-xyz.crt
+  error_check
+  cp -f bin/ipxe.usb disk.raw
+  tar Sczvf $ipxe_config-GCE.tar.gz disk.raw
+  mv $ipxe_config-GCE.tar.gz ../../build/ipxe/$ipxe_config-GCE.tar.gz
+done
+
 # generate EFI iPXE disks
 for ipxe_config in `ls ../../ipxe/disks/`
 do