Commit 0fdc6b35 authored by Dominik Schachten's avatar Dominik Schachten
Browse files

Update ipxe-menu/config.ipxe, .gitlab-ci.yml, build.sh files

parent 3692e10e
......@@ -12,6 +12,7 @@ build:
expire_in: 1 hour
paths:
- ./*.efi
- ./*.undionly.kpxe
script:
# ipxe has to be a full clone, shallow clone interferes with versioning
- git clone git://git.ipxe.org/ipxe.git
......
......@@ -12,8 +12,9 @@ while IFS='' read -r line && [ -n "${line}" ]; do
name=$(echo "$line" | tail -c +3)
echo "build $name"
cd ipxe/src/
make bin-x86_64-efi/ipxe.efi EMBED="../../$name/config.ipxe" CERT=../../pxe_ca.crt TRUST=../../pxe_ca.crt CONFIG="$name"
make bin/undionly.kpxe bin-x86_64-efi/ipxe.efi EMBED="../../$name/config.ipxe" CERT=../../pxe_ca.crt TRUST=../../pxe_ca.crt CONFIG="$name"
cd ../..
cp ipxe/src/bin-x86_64-efi/ipxe.efi "$name.efi"
cp ipxe/src/bin/undionly.kpxe "$name.undionly.kpxe"
done <<< "$(ls -1d ./ipxe-* 2>/dev/null)"
......@@ -24,7 +24,7 @@ dhcp && goto netUp
dhcp || goto reboot
:netUp
chain https://pxeserv-dev.cs.uni-paderborn.de/pxe_menu/efi.php || goto reboot
chain https://pxeserv-dev.cs.uni-paderborn.de/pxe_menu/bios.php || goto reboot
:reboot
reboot
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment