feat: add custom ipxe bootloader
Build / build-9 (pull_request) Successful in 3m22s
Build / build-8 (pull_request) Successful in 5m7s

- add rpm to manage tftpboot ipxe images for cobbler
This commit is contained in:
2025-07-12 18:14:48 +10:00
parent a14388a6e9
commit e0026ddb05
6 changed files with 87 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/bash
# clone the repo
git clone https://github.com/ipxe/ipxe.git
# change into it
cd ipxe/src
# copy the main.pxi to embed
cp /app/resources/main.ipxe ./
# build images
make bin/undionly.kpxe EMBED=main.ipxe
make bin-x86_64-efi/ipxe.efi EMBED=main.ipxe
# copy to /app
cp bin/undionly.kpxe /app/
cp bin-x86_64-efi/ipxe.efi /app/
# build rpm
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm