feat: add incus
Build / build-9 (pull_request) Successful in 18m54s
Build / build-8 (pull_request) Successful in 19m0s

- manage the build of incus, incus-tools and incus-client
This commit is contained in:
2025-03-29 18:24:21 +11:00
parent 9a4a3f40ad
commit 7348bdd69e
18 changed files with 354 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/bash
nfpm pkg --config /app/resources/nfpm_incus.yaml --target /app/dist --packager rpm && \
nfpm pkg --config /app/resources/nfpm_incus-client.yaml --target /app/dist --packager rpm && \
nfpm pkg --config /app/resources/nfpm_incus-tools.yaml --target /app/dist --packager rpm
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
systemctl daemon-reload
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
systemctl daemon-reload
rm -rf /usr/libexec/incus
groupdel incus-admin
groupdel incus
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
mkdir -p /usr/libexec/incus/
groupadd --system incus-admin
groupadd --system incus
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
systemctl stop incus.service
systemctl stop incus.socket
systemctl stop incus-user.service
systemctl stop incus-user.socket
systemctl stop incus-startup.service