diff --git a/srcpkgs/incus/files/README.voidlinux b/srcpkgs/incus/files/README.voidlinux index 3a4a5b356f49a9..4a04670a09c51d 100644 --- a/srcpkgs/incus/files/README.voidlinux +++ b/srcpkgs/incus/files/README.voidlinux @@ -9,3 +9,14 @@ containers. For example, the command 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`. + +In order to use incus to run VM's install packages `qemu` and +`edk2-ovmf` and uncomment the INCUS_EDK2_PATH variable +in `/etc/sv/incus/conf`. Then set `security.secureboot` +to false in incus config or symlink the secure boot files +in `/usr/share/edk2/x64` +`ln -s OVMF_CODE.secure.fd OVMF_CODE.secboot.fd` +`ln -s OVMF_CODE.secure.4m.fd OVMF_CODE.secboot.4m.fd` + +In order to use incus to run OCI containers install packages +`skopeo` and `umoci` diff --git a/srcpkgs/incus/files/incus-user/check b/srcpkgs/incus/files/incus/check similarity index 100% rename from srcpkgs/incus/files/incus-user/check rename to srcpkgs/incus/files/incus/check diff --git a/srcpkgs/incus/files/incus/conf b/srcpkgs/incus/files/incus/conf new file mode 100644 index 00000000000000..562c89f7c711ba --- /dev/null +++ b/srcpkgs/incus/files/incus/conf @@ -0,0 +1,11 @@ +# Configuration for incus server + +# Location of EDK2 firmware needed to run VM +# instances +#export INCUS_EDK2_PATH=/usr/share/edk2/x64/ + +# If you install a web ui for Incus add the path +# to the directory containing the fils +#export INCUS_UI=/opt/incus/ui/ + + diff --git a/srcpkgs/incus/template b/srcpkgs/incus/template index 7a106e4d338246..3d161e3bd26157 100644 --- a/srcpkgs/incus/template +++ b/srcpkgs/incus/template @@ -1,7 +1,7 @@ # Template file for 'incus' pkgname=incus -version=6.3.0 -revision=5 +version=6.4.0 +revision=2 build_style=go build_helper=qemu go_import_path=github.com/lxc/incus/v6 @@ -21,7 +21,7 @@ maintainer="dkwo " license="Apache-2.0" homepage="https://linuxcontainers.org/incus" distfiles="https://github.com/lxc/incus/archive/refs/tags/v${version}.tar.gz" -checksum=7dfb4c17334480af18f2827538b58bedc54e885eab54d224364b973df3183f91 +checksum=c6ad8260a4954b0e4f77de66220d5450290b57858f8c16ee83f12996eea86db4 system_groups="_incus-admin _incus" make_dirs=" /var/lib/incus 0755 root root