feat: add custom ipxe bootloader
- add rpm to manage tftpboot ipxe images for cobbler
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user