tag 766792 + patch
thanks

I've attached a pkla file that should work (didn't tested it though).

The lack of this file might explain why I was able to see the offline
update ckeck box when rebooting my machine in gnome-shell on my desktop
running polkit 0.112 and not on my work laptop.

Cheers,

Laurent Bigonville
diff -Nru packagekit-1.0.1/debian/org.freedesktop.packagekit.pkla packagekit-1.0.1/debian/org.freedesktop.packagekit.pkla
--- packagekit-1.0.1/debian/org.freedesktop.packagekit.pkla	1970-01-01 01:00:00.000000000 +0100
+++ packagekit-1.0.1/debian/org.freedesktop.packagekit.pkla	2014-10-25 22:55:15.000000000 +0200
@@ -0,0 +1,6 @@
+[Allow admins to upgrade the system]
+Identity=unix-group:sudo
+Action=org.freedesktop.packagekit.upgrade-system;org.freedesktop.packagekit.trigger-offline-update
+ResultAny=no
+ResultInactive=no
+ResultActive=yes
diff -Nru packagekit-1.0.1/debian/packagekit.install packagekit-1.0.1/debian/packagekit.install
--- packagekit-1.0.1/debian/packagekit.install	2014-10-21 15:53:34.000000000 +0200
+++ packagekit-1.0.1/debian/packagekit.install	2014-10-25 23:02:25.000000000 +0200
@@ -2,6 +2,7 @@
 etc/PackageKit/Vendor.conf
 etc/apt/apt.conf.d/20packagekit
 etc/dbus-1/system.d/org.freedesktop.PackageKit.conf
+debian/org.freedesktop.packagekit.pkla var/lib/polkit-1/localauthority/10-vendor.d/
 lib/systemd/system/*
 usr/lib/*/packagekit-backend/*
 usr/lib/packagekit/packagekit-direct

Reply via email to