mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2025-08-12 08:46:56 +02:00
18 lines
553 B
Bash
Executable File
18 lines
553 B
Bash
Executable File
#!/bin/bash
|
|
# prep release for upload to production container
|
|
|
|
mkdir -p build/ipxe
|
|
git clone --depth 1 https://github.com/ipxe/ipxe.git ipxe_build
|
|
cd ipxe_build/src
|
|
for ipxe_config in `ls ../../ipxe/`
|
|
do
|
|
make EMBED=../../ipxe/$ipxe_config
|
|
mv bin/ipxe.dsk ../../build/ipxe/$ipxe_config.dsk
|
|
mv bin/ipxe.iso ../../build/ipxe/$ipxe_config.iso
|
|
mv bin/ipxe.lkrn ../../build/ipxe/$ipxe_config.lkrn
|
|
mv bin/ipxe.usb ../../build/ipxe/$ipxe_config.usb
|
|
mv bin/undionly.kpxe ../../build/ipxe/$ipxe_config-undionly.kpxe
|
|
done
|
|
cd ../..
|
|
cp -R boot/* build/
|