rpmbuilder/rpms/unkin-undionly-kpxe/resources/nfpm.yaml
Ben Vincent e0026ddb05
All checks were successful
Build / build-9 (pull_request) Successful in 3m22s
Build / build-8 (pull_request) Successful in 5m7s
feat: add custom ipxe bootloader
- add rpm to manage tftpboot ipxe images for cobbler
2025-07-12 18:38:47 +10:00

45 lines
916 B
YAML

# 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