summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-04-11 07:05:43 +0300
committerMaxim Devaev <[email protected]>2022-04-11 07:05:43 +0300
commit725c5d8e42db5500fe82b9cd85ca7a0e77b8a9f2 (patch)
treeeb4bffa2259c1864f6e4c05d77ba07d0244f3903
parent4fd1e982d5f202ad346a2da49dbee057ae656087 (diff)
create pst directory
-rw-r--r--PKGBUILD2
-rw-r--r--kvmd.install1
2 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a3d20236..6fb03f76 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -170,7 +170,7 @@ package_kvmd() {
install -Dm644 -t "$pkgdir/etc/kvmd" "$_cfg_default/kvmd"/web.css
mkdir -p "$pkgdir/etc/kvmd/override.d"
- mkdir -p "$pkgdir/var/lib/kvmd/msd"
+ mkdir -p "$pkgdir/var/lib/kvmd/"{msd,pst}
# Avoid dhcp problems
install -DTm755 configs/os/netctl-dhcp "$pkgdir/etc/netctl/hooks/pikvm-dhcp"
diff --git a/kvmd.install b/kvmd.install
index e5620fe0..2241db4a 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -20,6 +20,7 @@ post_upgrade() {
done
chown kvmd /var/lib/kvmd/msd || true
+ chown kvmd-pst /var/lib/kvmd/pst || true
if [ ! -e /etc/kvmd/nginx/ssl/server.crt ]; then
echo "==> Generating KVMD-Nginx certificate ..."