mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-01-23 02:34:26 +00:00
Copy iPXE overrides into source directory during build
Allows for customization of upsteam. Also added comments to prep file
This commit is contained in:
parent
ef3b8c1946
commit
621e18e4f3
2 changed files with 48 additions and 0 deletions
|
|
@ -1,8 +1,16 @@
|
|||
#!/bin/bash
|
||||
# prep release for upload to production container
|
||||
|
||||
# make ipxe directory to store ipxe disks
|
||||
mkdir -p build/ipxe
|
||||
|
||||
# pull down upstream iPXE
|
||||
git clone --depth 1 https://github.com/ipxe/ipxe.git ipxe_build
|
||||
|
||||
# copy iPXE config overrides into source tree
|
||||
cp ipxe/local/* ipxe_build/src/config/local/
|
||||
|
||||
# build iPXE disks
|
||||
cd ipxe_build/src
|
||||
for ipxe_config in `ls ../../ipxe/`
|
||||
do
|
||||
|
|
@ -14,4 +22,6 @@ do
|
|||
mv bin/undionly.kpxe ../../build/ipxe/$ipxe_config-undionly.kpxe
|
||||
done
|
||||
cd ../..
|
||||
|
||||
# copy iPXE src code into build directory
|
||||
cp -R src/* build/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue