summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2013-09-04 20:33:12 +0200
committerSimon Rettberg2013-09-04 20:33:12 +0200
commit1ea4c3444c01e9fb0d237bdbce595370997bcccb (patch)
tree5e5d38bd0d63d193028c604626ce623c47cd0a85
parentAdd udisks module (diff)
downloadtm-scripts-1ea4c3444c01e9fb0d237bdbce595370997bcccb.tar.gz
tm-scripts-1ea4c3444c01e9fb0d237bdbce595370997bcccb.tar.xz
tm-scripts-1ea4c3444c01e9fb0d237bdbce595370997bcccb.zip
[polkit] Fix integration with gnome/udisks2, fixes usb mount on Ubuntu 13.04
-rw-r--r--remote/modules/polkit/polkit.conf.opensuse1
-rw-r--r--remote/modules/polkit/polkit.conf.ubuntu7
2 files changed, 8 insertions, 0 deletions
diff --git a/remote/modules/polkit/polkit.conf.opensuse b/remote/modules/polkit/polkit.conf.opensuse
index 10cedbe9..e7c1f369 100644
--- a/remote/modules/polkit/polkit.conf.opensuse
+++ b/remote/modules/polkit/polkit.conf.opensuse
@@ -7,5 +7,6 @@ REQUIRED_CONTENT_PACKAGES="
"
REQUIRED_DIRECTORIES+="
/usr/lib/polkit-1
+ /var/lib/polkit
"
diff --git a/remote/modules/polkit/polkit.conf.ubuntu b/remote/modules/polkit/polkit.conf.ubuntu
index 76d31b9e..eb2f88d1 100644
--- a/remote/modules/polkit/polkit.conf.ubuntu
+++ b/remote/modules/polkit/polkit.conf.ubuntu
@@ -4,9 +4,16 @@ REQUIRED_INSTALLED_PACKAGES="
REQUIRED_CONTENT_PACKAGES="
libmozjs185-1.0
policykit-1
+ policykit-desktop-privileges
"
REQUIRED_DIRECTORIES+="
/usr/lib/policykit-1
/usr${ARCH_LIB_DIR}/polkit-1
+ /var/lib/polkit-1
+"
+# Module specific: Root of dirstructs we need directly from system
+REQUIRED_DIR_STRUCT="
+ /var/lib/polkit-1
+ /etc/polkit-1
"