From f3712b6ffc97873a355363bb8c35f762584a3ed1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 25 Jul 2024 20:04:40 +0200 Subject: [PATCH] make: install incus files --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 75c37c0..98522e7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PREFIX?=/ -SUBPACKAGES = core network openrc aws azure gcp oci nocloud alpine +SUBPACKAGES = core network openrc aws azure gcp oci nocloud incus .PHONY: check install $(SUBPACKAGES) @@ -61,6 +61,12 @@ nocloud: install -Dm644 -t $(PREFIX)/lib/tiny-cloud/cloud/nocloud \ lib/tiny-cloud/cloud/nocloud/* +incus: + install -Dm644 -t $(PREFIX)/lib/tiny-cloud/cloud/incus \ + lib/tiny-cloud/cloud/incus/imds + install -Dm755 -t $(PREFIX)/lib/tiny-cloud/cloud/incus \ + lib/tiny-cloud/cloud/incus/autodetect + check: tests/Kyuafile Kyuafile kyua --variable parallelism=$(shell nproc) test || (kyua report --verbose && exit 1)