~packagekit/packagekit/ubuntu-packagekit-gnome-0.2.x

« back to all changes in this revision

Viewing changes to debian/patches/00_allow_root_own_dbus.patch

  • Committer: Sebastian Heinlein
  • Date: 2008-03-11 09:16:43 UTC
  • Revision ID: sebi@glatzor.de-20080311091643-nh38nhb1020d4nxy
* Follow forked-dbus-backend branch
* Switch to the apt2 backend
* New dependency on apt-xapian-index
* New build dependeny on intltool
* Run the packagekitd as packagekit user
* Improve description (thanks to Guus Sliepen)
* Add a patch to allow the root backend user to own the dbus object

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff --git a/data/org.freedesktop.PackageKit.conf.in b/data/org.freedesktop.PackageKit.conf.in
 
2
index 8d93fcb..289b261 100644
 
3
--- a/data/org.freedesktop.PackageKit.conf.in
 
4
+++ b/data/org.freedesktop.PackageKit.conf.in
 
5
@@ -10,6 +10,9 @@
 
6
   <policy user="@PACKAGEKIT_USER@">
 
7
     <allow own="org.freedesktop.PackageKit"/>
 
8
   </policy>
 
9
+  <policy user="root">
 
10
+    <allow own="org.freedesktop.PackageKit"/>
 
11
+  </policy>
 
12
 
 
13
  <!-- Allow anyone to call into the service - we'll reject callers using PolicyKit -->
 
14
   <policy context="default">