rpmbuilder/rpms/unkin-undionly-kpxe/resources/nfpm.yaml
Ben Vincent 310b6fd73f feat: add custom ipxe bootloader
- add rpm to manage tftpboot ipxe images for cobbler
2025-07-12 18:14:48 +10:00

45 lines
915 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: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh