mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-23 01:27:02 +02:00
incus: update to 6.2
This commit is contained in:
parent
e943bb16fc
commit
4eef8d1cb4
2 changed files with 27 additions and 5 deletions
11
srcpkgs/incus/files/README.voidlinux
Normal file
11
srcpkgs/incus/files/README.voidlinux
Normal file
|
@ -0,0 +1,11 @@
|
|||
Users wishing to interact with incus system daemons should belong to
|
||||
the `_incus-admin` and `_incus` groups. The root user should also be
|
||||
assigned a range of subordinate user and group IDs to be mapped in
|
||||
containers. For example, the command
|
||||
|
||||
usermod --add-subuids 1000000-1065535 \
|
||||
--add-subgids 1000000-1065535 root
|
||||
|
||||
will assign a range of 65,536 IDs for users and groups.
|
||||
Some container configurations may require that the `CGROUP_MODE`
|
||||
variable in `/etc/rc.conf` be set to `unified`.
|
|
@ -1,9 +1,10 @@
|
|||
# Template file for 'incus'
|
||||
pkgname=incus
|
||||
version=0.6.0
|
||||
revision=2
|
||||
version=6.2.0
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path=github.com/lxc/incus
|
||||
build_helper=qemu
|
||||
go_import_path=github.com/lxc/incus/v6
|
||||
go_build_tags="libsqlite3"
|
||||
go_package="${go_import_path}/cmd/incus
|
||||
${go_import_path}/cmd/incus-benchmark
|
||||
|
@ -20,7 +21,7 @@ maintainer="dkwo <npiazza@disroot.org>"
|
|||
license="Apache-2.0"
|
||||
homepage="https://linuxcontainers.org/incus"
|
||||
distfiles="https://github.com/lxc/incus/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=9bbce9ae95b40be4bd11116a97f422ecd2adf2915a2c0b6828fa34435de756d2
|
||||
checksum=3593bd8ffd18d347615f451fddcc9658a65e47d4812461cceb9f61c49f568231
|
||||
system_groups="_incus-admin _incus"
|
||||
make_dirs="
|
||||
/var/lib/incus 0755 root root
|
||||
|
@ -47,6 +48,14 @@ post_install() {
|
|||
vsv incus
|
||||
# avoid conflict with lxd, lxd-lts
|
||||
mv ${DESTDIR}/usr/bin/{fuidshift,fuidshift-incus}
|
||||
|
||||
# generate shell completions
|
||||
local incus=${DESTDIR}/usr/bin/incus
|
||||
for shell in bash fish zsh; do
|
||||
vtargetrun ${incus} completion ${shell} > scripts/${shell}-completion
|
||||
done
|
||||
|
||||
vdoc "${FILESDIR}/README.voidlinux"
|
||||
}
|
||||
|
||||
incus-client_package() {
|
||||
|
@ -55,7 +64,9 @@ incus-client_package() {
|
|||
pkg_install() {
|
||||
vmove usr/bin/incus
|
||||
vsv incus-user
|
||||
vcompletion scripts/bash/incus bash incus
|
||||
for shell in bash fish zsh; do
|
||||
vcompletion scripts/${shell}-completion ${shell} incus
|
||||
done
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue