upower: update to 0.99.11

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Oleksandr Kravchuk
2019-09-16 01:41:23 +02:00
committed by Khem Raj
parent e722ad42d7
commit b779db68a6
2 changed files with 2 additions and 34 deletions
@@ -1,31 +0,0 @@
From f64b6ce8054b47e5bdcc8c4c7965534b388e6151 Mon Sep 17 00:00:00 2001
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: Fri, 6 Apr 2018 11:26:54 -0700
Subject: [PATCH] linux: lower severity of "unhandled action" messages
Newer kernels emit bind/unbind uevents that are not of interest to
powerd. To avoid littering logs with scary messages, let's lower their
severity to "debug".
https://bugs.freedesktop.org/show_bug.cgi?id=106019
Upstream-Status: Backport
---
src/linux/up-backend.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c
index e668dc8..b8021e7 100644
--- a/src/linux/up-backend.c
+++ b/src/linux/up-backend.c
@@ -273,7 +273,7 @@ up_backend_uevent_signal_handler_cb (GUdevClient *client, const gchar *action,
g_debug ("SYSFS change %s", g_udev_device_get_sysfs_path (device));
up_backend_device_changed (backend, device);
} else {
- g_warning ("unhandled action '%s' on %s", action, g_udev_device_get_sysfs_path (device));
+ g_debug ("unhandled action '%s' on %s", action, g_udev_device_get_sysfs_path (device));
}
}
--
2.17.0.484.g0c8726318c-goog
@@ -6,10 +6,9 @@ DEPENDS = "intltool-native libusb1 libgudev glib-2.0 dbus-glib"
SRC_URI = " \ SRC_URI = " \
http://upower.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ http://upower.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
file://0001-linux-lower-severity-of-unhandled-action-messages.patch \
" "
SRC_URI[md5sum] = "236bb439d9ff1151450b3d8582399532" SRC_URI[md5sum] = "abe6acb617f11f2e8dbd9846fcf86e24"
SRC_URI[sha256sum] = "24bcc2f6ab25a2533bac70b587bcb019e591293076920f5b5e04bdedc140a401" SRC_URI[sha256sum] = "64b5ffbfccd5bdb15d925777979a4dbee1a957f9eaeb158dc76175267eddbdef"
inherit autotools pkgconfig gettext gobject-introspection systemd distro_features_check inherit autotools pkgconfig gettext gobject-introspection systemd distro_features_check