rpmbuilder/rpms/unkin-undionly-kpxe/resources/nfpm.yaml
Ben Vincent bfbdd07788
Some checks failed
Build / build-8 (pull_request) Has been cancelled
Build / build-9 (pull_request) Has been cancelled
chore: update urls to artifactapi
- change github urls to artifactapi
- change gitea urls to artifactapi
- change scripts in nfpm to use full path
- update unrar to 7.12
2026-01-17 19:49:17 +11:00

45 lines
990 B
YAML

# nfpm.yaml
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_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/scripts/preinstall.sh
# postinstall: /app/resources/scripts/postinstall.sh
# preremove: /app/resources/scripts/preremove.sh
# postremove: /app/resources/scripts/postremove.sh