60 lines
1.3 KiB
YAML
60 lines
1.3 KiB
YAML
# nfpm_incus-tools.yaml
|
|
|
|
name: incus-tools
|
|
version: ${PACKAGE_VERSION}
|
|
release: ${PACKAGE_RELEASE}
|
|
arch: amd64
|
|
platform: linux
|
|
section: default
|
|
priority: extra
|
|
description: "Powerful system container and virtual machine manager."
|
|
|
|
maintainer: Incus
|
|
homepage: https://github.com/lxc/incus
|
|
license: Apache-2.0
|
|
|
|
disable_globbing: false
|
|
|
|
replaces:
|
|
- incus-tools
|
|
|
|
# Files to include in the package
|
|
contents:
|
|
- src: /root/go/bin/incus-benchmark
|
|
dst: /usr/bin/incus-benchmark
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
- src: /root/go/bin/incus-migrate
|
|
dst: /usr/bin/incus-migrate
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
- src: /root/go/bin/incus-agent
|
|
dst: /usr/bin/incus-agent
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
- src: /root/go/bin/lxc-to-incus
|
|
dst: /usr/bin/lxc-to-incus
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
- src: /root/go/bin/lxd-to-incus
|
|
dst: /usr/bin/lxd-to-incus
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
|
|
# Scripts to run during installation/removal (optional)
|
|
# scripts:
|
|
# postinstall: ./scripts/postinstall.sh
|
|
# postremove: ./scripts/postremove.sh
|
|
# preinstall: ./scripts/preinstall.sh
|
|
# preremove: ./scripts/preremove.sh
|