diff options
author | Scott Murray <scott.murray@konsulko.com> | 2019-09-13 19:26:27 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-16 23:02:45 +0100 |
commit | 2e79c06beaa8605fcac6df65d902ee80c50e25c9 (patch) | |
tree | c917a431c342d5b5253b2273d295ab751a898673 /meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | |
parent | d84e9f446a3e948f213182c3abfdaa168cc56c1f (diff) | |
download | poky-2e79c06beaa8605fcac6df65d902ee80c50e25c9.tar.gz |
systemd: upgrade to 243
PATCH REBASED:
==============
0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0001-do-not-disable-buffer-in-writing-files.patch
0002-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch
0004-add-fallback-parse_printf_format-implementation.patch
0004-rules-whitelist-hd-devices.patch
0005-rules-watch-metadata-changes-in-ide-devices.patch
0005-src-basic-missing.h-check-for-missing-strndupa.patch
0006-Include-netinet-if_ether.h.patch
0007-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not.patch
0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
PATCH DROPPED:
==============
0001-Replace-the-legacy-ULONG_LONG_MAX-with-the-C99-ULLON.patch
0001-src-udev-udev-event.c-must-include-sys-wait.h.patch
0023-socket-util.h-include-string.h.patch
0025-fs-utilh-add-missing-sys-stat-include.patch
PATCH ADDED:
============
0002-src-login-brightness.c-include-sys-wait.h.patch
0003-src-basic-copy.c-include-signal.h.patch
0004-src-shared-cpu-set-util.h-add-__cpu_mask-definition.patch
Also applied libc-glibc over-ride to pkg_postinst and pkg_prerm function
definitions, as musl does not provide nsswitch.conf.
(From OE-Core rev: cd735ab1df78f7d21b6bb18bdf4707aec68a0295)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch b/meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch index b54635e8a9..24e24e8e5a 100644 --- a/meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch +++ b/meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | |||
@@ -17,15 +17,17 @@ This is libc implementation specific, as glibc does not have this issue. | |||
17 | Upstream-Status: Inappropriate [musl specific] | 17 | Upstream-Status: Inappropriate [musl specific] |
18 | 18 | ||
19 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | 19 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
20 | [rebased for systemd 243] | ||
21 | Signed-off-by: Scott Murray <scott.murray@konsulko.com> | ||
20 | --- | 22 | --- |
21 | src/basic/process-util.c | 2 +- | 23 | src/basic/process-util.c | 2 +- |
22 | 1 file changed, 1 insertion(+), 1 deletion(-) | 24 | 1 file changed, 1 insertion(+), 1 deletion(-) |
23 | 25 | ||
24 | diff --git a/src/basic/process-util.c b/src/basic/process-util.c | 26 | diff --git a/src/basic/process-util.c b/src/basic/process-util.c |
25 | index f773eea..79af915 100644 | 27 | index b1c08fcade..0a7a1f7d89 100644 |
26 | --- a/src/basic/process-util.c | 28 | --- a/src/basic/process-util.c |
27 | +++ b/src/basic/process-util.c | 29 | +++ b/src/basic/process-util.c |
28 | @@ -1546,7 +1546,7 @@ int set_oom_score_adjust(int value) { | 30 | @@ -1474,7 +1474,7 @@ int set_oom_score_adjust(int value) { |
29 | sprintf(t, "%i", value); | 31 | sprintf(t, "%i", value); |
30 | 32 | ||
31 | return write_string_file("/proc/self/oom_score_adj", t, | 33 | return write_string_file("/proc/self/oom_score_adj", t, |
@@ -33,8 +35,4 @@ index f773eea..79af915 100644 | |||
33 | + WRITE_STRING_FILE_VERIFY_ON_FAILURE); | 35 | + WRITE_STRING_FILE_VERIFY_ON_FAILURE); |
34 | } | 36 | } |
35 | 37 | ||
36 | int cpus_in_affinity_mask(void) { | 38 | static const char *const ioprio_class_table[] = { |
37 | -- | ||
38 | 2.11.0 | ||
39 | |||
40 | |||