mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
systemd: update to systemd-210
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
fbf7d43951
commit
001c3fae53
@ -17,7 +17,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="systemd"
|
PKG_NAME="systemd"
|
||||||
PKG_VERSION="209"
|
PKG_VERSION="210"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
diff -Naur systemd-209/src/journal/journald-server.c systemd-209.patch/src/journal/journald-server.c
|
|
||||||
--- systemd-209/src/journal/journald-server.c 2014-02-20 00:03:09.000000000 +0100
|
|
||||||
+++ systemd-209.patch/src/journal/journald-server.c 2014-02-21 16:41:49.152296403 +0100
|
|
||||||
@@ -1430,6 +1430,14 @@
|
|
||||||
|
|
||||||
r = sd_event_add_io(s->event, &s->hostname_event_source, s->hostname_fd, 0, dispatch_hostname_change, s);
|
|
||||||
if (r < 0) {
|
|
||||||
+ /* kernels prior to 3.2 don't support polling this file.
|
|
||||||
+ * quietly ignore the failure. */
|
|
||||||
+ if (r == -EPERM) {
|
|
||||||
+ close_nointr_nofail(s->hostname_fd);
|
|
||||||
+ s->hostname_fd = -1;
|
|
||||||
+ return 0;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
log_error("Failed to register hostname fd in event loop: %s", strerror(-r));
|
|
||||||
return r;
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user