rpmbuilder/rpms/unkin-undionly-kpxe/resources/nfpm.yaml
Ben Vincent 8f3d7c38da
Some checks failed
Build / build-9 (pull_request) Failing after 3m11s
Build / build-8 (pull_request) Failing after 4m16s
feat: add custom ipxe bootloader
- add rpm to manage tftpboot ipxe images for cobbler
2025-07-12 18:18:30 +10:00

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