summaryrefslogtreecommitdiffstats
path: root/core/modules/polkit
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-03 14:43:37 +0200
committerYour Name2020-08-03 14:43:37 +0200
commit39a8188b4a0b9ec26c4240df9ba557768ece4c48 (patch)
treeb891d3dd0ac5b1adea1ff90da739395cf6caa9c8 /core/modules/polkit
parent[systemd-distro] Delete data dir, use shipped services etc. (diff)
downloadmltk-39a8188b4a0b9ec26c4240df9ba557768ece4c48.tar.gz
mltk-39a8188b4a0b9ec26c4240df9ba557768ece4c48.tar.xz
mltk-39a8188b4a0b9ec26c4240df9ba557768ece4c48.zip
Add support for Ubuntu 20.04 (TODO: systemd)
Diffstat (limited to 'core/modules/polkit')
-rw-r--r--core/modules/polkit/module.conf.ubuntu3
-rw-r--r--core/modules/polkit/module.conf.ubuntu.1819
2 files changed, 20 insertions, 2 deletions
diff --git a/core/modules/polkit/module.conf.ubuntu b/core/modules/polkit/module.conf.ubuntu
index 27af83af..a4abcf92 100644
--- a/core/modules/polkit/module.conf.ubuntu
+++ b/core/modules/polkit/module.conf.ubuntu
@@ -7,9 +7,8 @@ REQUIRED_CONTENT_PACKAGES="
"
REQUIRED_DIRECTORIES+="
/usr/lib/policykit-1
- /usr${ARCH_LIB_DIR}/polkit-1
/var/lib/polkit-1
- /etc/dbus-1/system.d
+ /usr/share/dbus-1/system.d
"
# Module specific: Root of dirstructs we need directly from system
REQUIRED_DIR_STRUCT="
diff --git a/core/modules/polkit/module.conf.ubuntu.18 b/core/modules/polkit/module.conf.ubuntu.18
new file mode 100644
index 00000000..27af83af
--- /dev/null
+++ b/core/modules/polkit/module.conf.ubuntu.18
@@ -0,0 +1,19 @@
+#!/bin/bash
+REQUIRED_INSTALLED_PACKAGES=""
+# libmozjs185-1.0
+REQUIRED_CONTENT_PACKAGES="
+ policykit-1
+ policykit-desktop-privileges
+"
+REQUIRED_DIRECTORIES+="
+ /usr/lib/policykit-1
+ /usr${ARCH_LIB_DIR}/polkit-1
+ /var/lib/polkit-1
+ /etc/dbus-1/system.d
+"
+# Module specific: Root of dirstructs we need directly from system
+REQUIRED_DIR_STRUCT="
+ /var/lib/polkit-1
+ /etc/polkit-1
+"
+