diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-01-21 11:51:17 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-01-21 11:51:17 -0500 |
commit | c4cd65e1ed0e97a730d16e3472e27cabac50118f (patch) | |
tree | 80c623f3874af347cb8ac8bf4eace28aa34eb45f /pcr/upower-pm-utils/upower-pm-utils-0.9.23-always_use_pm-utils_backend.patch | |
parent | f34f6cd338aee4fcc5480370cfe7820f1c6dcc7d (diff) | |
download | abslibre-c4cd65e1ed0e97a730d16e3472e27cabac50118f.tar.gz abslibre-c4cd65e1ed0e97a730d16e3472e27cabac50118f.tar.bz2 abslibre-c4cd65e1ed0e97a730d16e3472e27cabac50118f.zip |
Removing upower-pm-utils: It was removed in upstream
Diffstat (limited to 'pcr/upower-pm-utils/upower-pm-utils-0.9.23-always_use_pm-utils_backend.patch')
-rw-r--r-- | pcr/upower-pm-utils/upower-pm-utils-0.9.23-always_use_pm-utils_backend.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/pcr/upower-pm-utils/upower-pm-utils-0.9.23-always_use_pm-utils_backend.patch b/pcr/upower-pm-utils/upower-pm-utils-0.9.23-always_use_pm-utils_backend.patch deleted file mode 100644 index e8cdfa895..000000000 --- a/pcr/upower-pm-utils/upower-pm-utils-0.9.23-always_use_pm-utils_backend.patch +++ /dev/null @@ -1,28 +0,0 @@ -Description: Always use the pm-utils backend for now - Redirecting the suspend / hibernate request to logind requires systemd - to be running, as logind tries to start the suspend.target / - hibernate.target via the D-Bus interface provided by systemd. - The availability of logind does not necessarily imply that systemd is - available since we made logind D-Bus activatable under sysvinit. - Also, the systemd version currently in unstable (v44) is too old and - doesn't provide that functionality yet. - Ubuntu ships a very basic implementation of that D-Bus inferface in - systemd-shim which can be run under sysvinit. But we don't have that - package in Debian (yet). - For now, it's the safest option to just continue using the old - pm-utils backend always. -Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718493 -diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c -index b9f75f5..595a1b2 100644 ---- a/src/linux/up-backend.c -+++ b/src/linux/up-backend.c -@@ -51,7 +51,7 @@ - - #ifdef ENABLE_DEPRECATED - --#define LOGIND_AVAILABLE() (access("/run/systemd/seats/", F_OK) >= 0) -+#define LOGIND_AVAILABLE() (FALSE) - - #define SD_HIBERNATE_COMMAND "gdbus call --system --dest org.freedesktop.login1 --object-path /org/freedesktop/login1 --method org.freedesktop.login1.Manager.Hibernate 'true'" - #define SD_SUSPEND_COMMAND "gdbus call --system --dest org.freedesktop.login1 --object-path /org/freedesktop/login1 --method org.freedesktop.login1.Manager.Suspend 'true'" - |