From 3c61a0475290355f8562165a1aa25814a6fe2730 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Tue, 3 Dec 2024 12:02:41 +0000 Subject: [PATCH] Add polkitd --- main/nnd-s6-services/APKBUILD | 5 +++-- main/nnd-s6-services/rc/polkitd/dependencies.d/dbus | 0 main/nnd-s6-services/rc/polkitd/run | 4 ++++ main/nnd-s6-services/rc/polkitd/type | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 main/nnd-s6-services/rc/polkitd/dependencies.d/dbus create mode 100644 main/nnd-s6-services/rc/polkitd/run create mode 100644 main/nnd-s6-services/rc/polkitd/type diff --git a/main/nnd-s6-services/APKBUILD b/main/nnd-s6-services/APKBUILD index c549eb1..c8212b9 100644 --- a/main/nnd-s6-services/APKBUILD +++ b/main/nnd-s6-services/APKBUILD @@ -3,8 +3,8 @@ . ../../APKBUILD.template pkgname=nnd-s6-services -pkgver=3.5 -pkgrel=0 +pkgver=3.6 +pkgrel=1 pkgdesc="Base services for s6" depends=" s6-rc>=0.5.4 @@ -142,6 +142,7 @@ build() { pipewire,pipewire pipewire-pulse,pipewire-pulse podman.CID,podman.CID + polkitd,polkitd prometheus-node-exporter,prometheus-node-exporter prometheus-smartctl-exporter,prometheus-smartctl-exporter qemu-ga,qemu-ga diff --git a/main/nnd-s6-services/rc/polkitd/dependencies.d/dbus b/main/nnd-s6-services/rc/polkitd/dependencies.d/dbus new file mode 100644 index 0000000..e69de29 diff --git a/main/nnd-s6-services/rc/polkitd/run b/main/nnd-s6-services/rc/polkitd/run new file mode 100644 index 0000000..5e53c88 --- /dev/null +++ b/main/nnd-s6-services/rc/polkitd/run @@ -0,0 +1,4 @@ +#!/bin/execlineb -P +fdmove -c 2 1 + +/usr/lib/polkit-1/polkitd -r diff --git a/main/nnd-s6-services/rc/polkitd/type b/main/nnd-s6-services/rc/polkitd/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/main/nnd-s6-services/rc/polkitd/type @@ -0,0 +1 @@ +longrun