mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-01-23 02:34:26 +00:00
Add script for generating release
This commit is contained in:
parent
92c604e80c
commit
ce7ede98eb
1 changed files with 18 additions and 0 deletions
18
script/prep-release.sh
Executable file
18
script/prep-release.sh
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/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/$i
|
||||
mv bin/ipxe.dsk ../../build/ipxe/$ipxe_config.dsk
|
||||
mv bin/ipxe.kpxe ../../build/ipxe/$ipxe_config.kpxe
|
||||
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 src/* build/
|
||||
Loading…
Add table
Add a link
Reference in a new issue