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
@@ -0,0 +1,44 @@
# nfpm.yaml
name: unkin-undionly-kpxe
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "iPXE network bootloader"
maintainer: iPXE
homepage: https://github.com/ipxe/ipxe
license: GPL-2.0 license
disable_globbing: false
replaces:
- unkin-undionly-kpxe
provides:
- undionly.kpxe
- ipxe.efi
# Files to include in the package
contents:
- src: /app/ipxe.efi
dst: /var/lib/tftpboot/ipxe.efi
file_info:
mode: 0644
owner: root
group: root
- src: /app/undionly.kpxe
dst: /var/lib/tftpboot/undionly.kpxe
file_info:
mode: 0644
owner: root
group: root
# Scripts to run during installation/removal (optional)
scripts:
preinstall: /app/resources/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh