After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666788 - Add optional systemd support
Add optional systemd support
Status: RESOLVED FIXED
Product: gnome-packagekit
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-packagekit-maint
gnome-packagekit-maint
Depends on:
Blocks: systemd
 
 
Reported: 2011-12-24 06:16 UTC by Matthias Clasen
Modified: 2012-01-23 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (13.33 KB, patch)
2011-12-24 06:16 UTC, Matthias Clasen
none Details | Review
Add optional systemd support (13.89 KB, patch)
2012-01-05 02:07 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2011-12-24 06:16:18 UTC
Created attachment 204164 [details] [review]
patch

Here is a patch that makes gnome-packagekit use systemd instead of ConsoleKit for rebooting.
Comment 1 Richard Hughes 2011-12-28 17:15:10 UTC
Yup, looks fine, although if ConsoleKit is deprecated, I would be happy if the non-systemd codepath was a NOP. I'm not sure if that's too aggressive. Thanks.
Comment 2 Matthias Clasen 2011-12-30 02:56:27 UTC
Dropping ck altogether would be a bit aggressive, imo.
Comment 3 Matthias Clasen 2012-01-05 02:07:32 UTC
Created attachment 204654 [details] [review]
Add optional systemd support

This patch adds a --enable-systemd configure flag that makes
gnome-packagekit use systemd instead of ConsoleKit for rebooting.
Comment 4 Matthias Clasen 2012-01-05 02:08:15 UTC
A patch with slightly more elaborate configury, which makes --enable-systemd default to 'auto'.
Comment 5 Matthias Clasen 2012-01-17 14:28:25 UTC
pushed