diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-05-24 18:34:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-25 22:36:08 +0100 |
commit | 0c3bea895e0afc9898e6833d54f8627487874857 (patch) | |
tree | 0f3ca6089ab6029731789604cdc971c61f8590c2 /meta | |
parent | 4cac662d7d705ad6d9d43ac4f724d028b054ac72 (diff) | |
download | poky-0c3bea895e0afc9898e6833d54f8627487874857.tar.gz |
systemd: Fix 248.3 on musl
(From OE-Core rev: 7a6009a8a9eee36724672610569f1db08615cf50)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
3 files changed, 40 insertions, 102 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-test-parse-argument-Include-signal.h.patch b/meta/recipes-core/systemd/systemd/0001-test-parse-argument-Include-signal.h.patch new file mode 100644 index 0000000000..3af1daac9c --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0001-test-parse-argument-Include-signal.h.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 1adde6721ead386ccee6efe48038d6944b96319a Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 24 May 2021 18:26:27 -0700 | ||
4 | Subject: [PATCH] test-parse-argument: Include signal.h | ||
5 | |||
6 | Fixes | ||
7 | src/test/test-parse-argument.c:49:29: error: use of undeclared identifier 'SIGABRT' | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/19718] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | src/test/test-parse-argument.c | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/src/test/test-parse-argument.c b/src/test/test-parse-argument.c | ||
16 | index 4081a9f25a..820d69f092 100644 | ||
17 | --- a/src/test/test-parse-argument.c | ||
18 | +++ b/src/test/test-parse-argument.c | ||
19 | @@ -3,6 +3,7 @@ | ||
20 | #include "parse-argument.h" | ||
21 | #include "stdio-util.h" | ||
22 | #include "tests.h" | ||
23 | +#include <signal.h> | ||
24 | |||
25 | static void test_parse_json_argument(void) { | ||
26 | log_info("/* %s */", __func__); | ||
27 | -- | ||
28 | 2.31.1 | ||
29 | |||
diff --git a/meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch b/meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch index a0d757b3f3..814c28f5b9 100644 --- a/meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch +++ b/meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch | |||
@@ -72,8 +72,6 @@ Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> | |||
72 | src/udev/udev-rules.c | 1 + | 72 | src/udev/udev-rules.c | 1 + |
73 | 51 files changed, 62 insertions(+) | 73 | 51 files changed, 62 insertions(+) |
74 | 74 | ||
75 | diff --git a/meson.build b/meson.build | ||
76 | index 2abb7b3188..c97f09062b 100644 | ||
77 | --- a/meson.build | 75 | --- a/meson.build |
78 | +++ b/meson.build | 76 | +++ b/meson.build |
79 | @@ -550,6 +550,7 @@ foreach ident : [ | 77 | @@ -550,6 +550,7 @@ foreach ident : [ |
@@ -84,8 +82,6 @@ index 2abb7b3188..c97f09062b 100644 | |||
84 | ] | 82 | ] |
85 | 83 | ||
86 | have = cc.has_function(ident[0], prefix : ident[1], args : '-D_GNU_SOURCE') | 84 | have = cc.has_function(ident[0], prefix : ident[1], args : '-D_GNU_SOURCE') |
87 | diff --git a/src/backlight/backlight.c b/src/backlight/backlight.c | ||
88 | index 86927be62e..a34be158a0 100644 | ||
89 | --- a/src/backlight/backlight.c | 85 | --- a/src/backlight/backlight.c |
90 | +++ b/src/backlight/backlight.c | 86 | +++ b/src/backlight/backlight.c |
91 | @@ -19,6 +19,7 @@ | 87 | @@ -19,6 +19,7 @@ |
@@ -96,8 +92,6 @@ index 86927be62e..a34be158a0 100644 | |||
96 | 92 | ||
97 | static int help(void) { | 93 | static int help(void) { |
98 | _cleanup_free_ char *link = NULL; | 94 | _cleanup_free_ char *link = NULL; |
99 | diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c | ||
100 | index 8dd3f8cd95..50c1ae1b2b 100644 | ||
101 | --- a/src/basic/cgroup-util.c | 95 | --- a/src/basic/cgroup-util.c |
102 | +++ b/src/basic/cgroup-util.c | 96 | +++ b/src/basic/cgroup-util.c |
103 | @@ -38,6 +38,7 @@ | 97 | @@ -38,6 +38,7 @@ |
@@ -108,8 +102,6 @@ index 8dd3f8cd95..50c1ae1b2b 100644 | |||
108 | 102 | ||
109 | static int cg_enumerate_items(const char *controller, const char *path, FILE **_f, const char *item) { | 103 | static int cg_enumerate_items(const char *controller, const char *path, FILE **_f, const char *item) { |
110 | _cleanup_free_ char *fs = NULL; | 104 | _cleanup_free_ char *fs = NULL; |
111 | diff --git a/src/basic/env-util.c b/src/basic/env-util.c | ||
112 | index c110a750a5..e1f091b01e 100644 | ||
113 | --- a/src/basic/env-util.c | 105 | --- a/src/basic/env-util.c |
114 | +++ b/src/basic/env-util.c | 106 | +++ b/src/basic/env-util.c |
115 | @@ -18,6 +18,7 @@ | 107 | @@ -18,6 +18,7 @@ |
@@ -120,8 +112,6 @@ index c110a750a5..e1f091b01e 100644 | |||
120 | 112 | ||
121 | /* We follow bash for the character set. Different shells have different rules. */ | 113 | /* We follow bash for the character set. Different shells have different rules. */ |
122 | #define VALID_BASH_ENV_NAME_CHARS \ | 114 | #define VALID_BASH_ENV_NAME_CHARS \ |
123 | diff --git a/src/basic/log.c b/src/basic/log.c | ||
124 | index 595db0c395..daff8eb68a 100644 | ||
125 | --- a/src/basic/log.c | 115 | --- a/src/basic/log.c |
126 | +++ b/src/basic/log.c | 116 | +++ b/src/basic/log.c |
127 | @@ -36,6 +36,7 @@ | 117 | @@ -36,6 +36,7 @@ |
@@ -132,8 +122,6 @@ index 595db0c395..daff8eb68a 100644 | |||
132 | 122 | ||
133 | #define SNDBUF_SIZE (8*1024*1024) | 123 | #define SNDBUF_SIZE (8*1024*1024) |
134 | 124 | ||
135 | diff --git a/src/basic/missing_stdlib.h b/src/basic/missing_stdlib.h | ||
136 | index 8c76f93eb2..9068bfb4f0 100644 | ||
137 | --- a/src/basic/missing_stdlib.h | 125 | --- a/src/basic/missing_stdlib.h |
138 | +++ b/src/basic/missing_stdlib.h | 126 | +++ b/src/basic/missing_stdlib.h |
139 | @@ -11,3 +11,15 @@ | 127 | @@ -11,3 +11,15 @@ |
@@ -152,8 +140,6 @@ index 8c76f93eb2..9068bfb4f0 100644 | |||
152 | + (char *)memcpy(__new, __old, __len); \ | 140 | + (char *)memcpy(__new, __old, __len); \ |
153 | + }) | 141 | + }) |
154 | +#endif | 142 | +#endif |
155 | diff --git a/src/basic/mkdir.c b/src/basic/mkdir.c | ||
156 | index f91f8f7a08..fb31596216 100644 | ||
157 | --- a/src/basic/mkdir.c | 143 | --- a/src/basic/mkdir.c |
158 | +++ b/src/basic/mkdir.c | 144 | +++ b/src/basic/mkdir.c |
159 | @@ -14,6 +14,7 @@ | 145 | @@ -14,6 +14,7 @@ |
@@ -164,8 +150,6 @@ index f91f8f7a08..fb31596216 100644 | |||
164 | 150 | ||
165 | int mkdir_safe_internal( | 151 | int mkdir_safe_internal( |
166 | const char *path, | 152 | const char *path, |
167 | diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c | ||
168 | index 1d617e87b2..346f9a47d7 100644 | ||
169 | --- a/src/basic/mountpoint-util.c | 153 | --- a/src/basic/mountpoint-util.c |
170 | +++ b/src/basic/mountpoint-util.c | 154 | +++ b/src/basic/mountpoint-util.c |
171 | @@ -12,6 +12,7 @@ | 155 | @@ -12,6 +12,7 @@ |
@@ -176,8 +160,6 @@ index 1d617e87b2..346f9a47d7 100644 | |||
176 | #include "mountpoint-util.h" | 160 | #include "mountpoint-util.h" |
177 | #include "parse-util.h" | 161 | #include "parse-util.h" |
178 | #include "path-util.h" | 162 | #include "path-util.h" |
179 | diff --git a/src/basic/parse-util.c b/src/basic/parse-util.c | ||
180 | index b79c885dfd..6dabda5691 100644 | ||
181 | --- a/src/basic/parse-util.c | 163 | --- a/src/basic/parse-util.c |
182 | +++ b/src/basic/parse-util.c | 164 | +++ b/src/basic/parse-util.c |
183 | @@ -19,6 +19,7 @@ | 165 | @@ -19,6 +19,7 @@ |
@@ -188,8 +170,6 @@ index b79c885dfd..6dabda5691 100644 | |||
188 | 170 | ||
189 | int parse_boolean(const char *v) { | 171 | int parse_boolean(const char *v) { |
190 | if (!v) | 172 | if (!v) |
191 | diff --git a/src/basic/path-lookup.c b/src/basic/path-lookup.c | ||
192 | index e53c2302b1..ca1d40ccbe 100644 | ||
193 | --- a/src/basic/path-lookup.c | 173 | --- a/src/basic/path-lookup.c |
194 | +++ b/src/basic/path-lookup.c | 174 | +++ b/src/basic/path-lookup.c |
195 | @@ -15,6 +15,7 @@ | 175 | @@ -15,6 +15,7 @@ |
@@ -200,8 +180,6 @@ index e53c2302b1..ca1d40ccbe 100644 | |||
200 | 180 | ||
201 | int xdg_user_runtime_dir(char **ret, const char *suffix) { | 181 | int xdg_user_runtime_dir(char **ret, const char *suffix) { |
202 | const char *e; | 182 | const char *e; |
203 | diff --git a/src/basic/proc-cmdline.c b/src/basic/proc-cmdline.c | ||
204 | index 410b8a3eb5..f2c4355609 100644 | ||
205 | --- a/src/basic/proc-cmdline.c | 183 | --- a/src/basic/proc-cmdline.c |
206 | +++ b/src/basic/proc-cmdline.c | 184 | +++ b/src/basic/proc-cmdline.c |
207 | @@ -15,6 +15,7 @@ | 185 | @@ -15,6 +15,7 @@ |
@@ -212,8 +190,6 @@ index 410b8a3eb5..f2c4355609 100644 | |||
212 | 190 | ||
213 | int proc_cmdline(char **ret) { | 191 | int proc_cmdline(char **ret) { |
214 | const char *e; | 192 | const char *e; |
215 | diff --git a/src/basic/procfs-util.c b/src/basic/procfs-util.c | ||
216 | index ccab71f7d2..8f9eee8d36 100644 | ||
217 | --- a/src/basic/procfs-util.c | 193 | --- a/src/basic/procfs-util.c |
218 | +++ b/src/basic/procfs-util.c | 194 | +++ b/src/basic/procfs-util.c |
219 | @@ -11,6 +11,7 @@ | 195 | @@ -11,6 +11,7 @@ |
@@ -224,8 +200,6 @@ index ccab71f7d2..8f9eee8d36 100644 | |||
224 | 200 | ||
225 | int procfs_tasks_get_limit(uint64_t *ret) { | 201 | int procfs_tasks_get_limit(uint64_t *ret) { |
226 | _cleanup_free_ char *value = NULL; | 202 | _cleanup_free_ char *value = NULL; |
227 | diff --git a/src/basic/selinux-util.c b/src/basic/selinux-util.c | ||
228 | index ee9e34ed47..96c1e9362d 100644 | ||
229 | --- a/src/basic/selinux-util.c | 203 | --- a/src/basic/selinux-util.c |
230 | +++ b/src/basic/selinux-util.c | 204 | +++ b/src/basic/selinux-util.c |
231 | @@ -27,6 +27,7 @@ | 205 | @@ -27,6 +27,7 @@ |
@@ -236,8 +210,6 @@ index ee9e34ed47..96c1e9362d 100644 | |||
236 | 210 | ||
237 | #if HAVE_SELINUX | 211 | #if HAVE_SELINUX |
238 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(context_t, context_free, NULL); | 212 | DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(context_t, context_free, NULL); |
239 | diff --git a/src/basic/time-util.c b/src/basic/time-util.c | ||
240 | index 78d0390a00..47c38ca691 100644 | ||
241 | --- a/src/basic/time-util.c | 213 | --- a/src/basic/time-util.c |
242 | +++ b/src/basic/time-util.c | 214 | +++ b/src/basic/time-util.c |
243 | @@ -27,6 +27,7 @@ | 215 | @@ -27,6 +27,7 @@ |
@@ -248,8 +220,6 @@ index 78d0390a00..47c38ca691 100644 | |||
248 | 220 | ||
249 | static clockid_t map_clock_id(clockid_t c) { | 221 | static clockid_t map_clock_id(clockid_t c) { |
250 | 222 | ||
251 | diff --git a/src/boot/bless-boot.c b/src/boot/bless-boot.c | ||
252 | index 97ad1e0cb5..9d60f3cc79 100644 | ||
253 | --- a/src/boot/bless-boot.c | 223 | --- a/src/boot/bless-boot.c |
254 | +++ b/src/boot/bless-boot.c | 224 | +++ b/src/boot/bless-boot.c |
255 | @@ -18,6 +18,7 @@ | 225 | @@ -18,6 +18,7 @@ |
@@ -260,8 +230,6 @@ index 97ad1e0cb5..9d60f3cc79 100644 | |||
260 | 230 | ||
261 | static char **arg_path = NULL; | 231 | static char **arg_path = NULL; |
262 | 232 | ||
263 | diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c | ||
264 | index 04d2ba34f3..651ca9412e 100644 | ||
265 | --- a/src/core/dbus-cgroup.c | 233 | --- a/src/core/dbus-cgroup.c |
266 | +++ b/src/core/dbus-cgroup.c | 234 | +++ b/src/core/dbus-cgroup.c |
267 | @@ -17,6 +17,7 @@ | 235 | @@ -17,6 +17,7 @@ |
@@ -272,8 +240,6 @@ index 04d2ba34f3..651ca9412e 100644 | |||
272 | 240 | ||
273 | BUS_DEFINE_PROPERTY_GET(bus_property_get_tasks_max, "t", TasksMax, tasks_max_resolve); | 241 | BUS_DEFINE_PROPERTY_GET(bus_property_get_tasks_max, "t", TasksMax, tasks_max_resolve); |
274 | 242 | ||
275 | diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c | ||
276 | index 5239c41d67..0f604efe98 100644 | ||
277 | --- a/src/core/dbus-execute.c | 243 | --- a/src/core/dbus-execute.c |
278 | +++ b/src/core/dbus-execute.c | 244 | +++ b/src/core/dbus-execute.c |
279 | @@ -41,6 +41,7 @@ | 245 | @@ -41,6 +41,7 @@ |
@@ -284,8 +250,6 @@ index 5239c41d67..0f604efe98 100644 | |||
284 | 250 | ||
285 | BUS_DEFINE_PROPERTY_GET_ENUM(bus_property_get_exec_output, exec_output, ExecOutput); | 251 | BUS_DEFINE_PROPERTY_GET_ENUM(bus_property_get_exec_output, exec_output, ExecOutput); |
286 | static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_exec_input, exec_input, ExecInput); | 252 | static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_exec_input, exec_input, ExecInput); |
287 | diff --git a/src/core/dbus-util.c b/src/core/dbus-util.c | ||
288 | index 44a2ccfca0..3926ccfa4a 100644 | ||
289 | --- a/src/core/dbus-util.c | 253 | --- a/src/core/dbus-util.c |
290 | +++ b/src/core/dbus-util.c | 254 | +++ b/src/core/dbus-util.c |
291 | @@ -9,6 +9,7 @@ | 255 | @@ -9,6 +9,7 @@ |
@@ -296,8 +260,6 @@ index 44a2ccfca0..3926ccfa4a 100644 | |||
296 | 260 | ||
297 | int bus_property_get_triggered_unit( | 261 | int bus_property_get_triggered_unit( |
298 | sd_bus *bus, | 262 | sd_bus *bus, |
299 | diff --git a/src/core/execute.c b/src/core/execute.c | ||
300 | index 922913e7af..f82fc294c0 100644 | ||
301 | --- a/src/core/execute.c | 263 | --- a/src/core/execute.c |
302 | +++ b/src/core/execute.c | 264 | +++ b/src/core/execute.c |
303 | @@ -96,6 +96,7 @@ | 265 | @@ -96,6 +96,7 @@ |
@@ -308,8 +270,6 @@ index 922913e7af..f82fc294c0 100644 | |||
308 | 270 | ||
309 | #define IDLE_TIMEOUT_USEC (5*USEC_PER_SEC) | 271 | #define IDLE_TIMEOUT_USEC (5*USEC_PER_SEC) |
310 | #define IDLE_TIMEOUT2_USEC (1*USEC_PER_SEC) | 272 | #define IDLE_TIMEOUT2_USEC (1*USEC_PER_SEC) |
311 | diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c | ||
312 | index a56f12f47f..6b8729ef67 100644 | ||
313 | --- a/src/core/kmod-setup.c | 273 | --- a/src/core/kmod-setup.c |
314 | +++ b/src/core/kmod-setup.c | 274 | +++ b/src/core/kmod-setup.c |
315 | @@ -11,6 +11,7 @@ | 275 | @@ -11,6 +11,7 @@ |
@@ -320,8 +280,6 @@ index a56f12f47f..6b8729ef67 100644 | |||
320 | 280 | ||
321 | #if HAVE_KMOD | 281 | #if HAVE_KMOD |
322 | #include "module-util.h" | 282 | #include "module-util.h" |
323 | diff --git a/src/core/service.c b/src/core/service.c | ||
324 | index 4c5bfb17fb..8c05f36119 100644 | ||
325 | --- a/src/core/service.c | 283 | --- a/src/core/service.c |
326 | +++ b/src/core/service.c | 284 | +++ b/src/core/service.c |
327 | @@ -41,6 +41,7 @@ | 285 | @@ -41,6 +41,7 @@ |
@@ -332,8 +290,6 @@ index 4c5bfb17fb..8c05f36119 100644 | |||
332 | 290 | ||
333 | static const UnitActiveState state_translation_table[_SERVICE_STATE_MAX] = { | 291 | static const UnitActiveState state_translation_table[_SERVICE_STATE_MAX] = { |
334 | [SERVICE_DEAD] = UNIT_INACTIVE, | 292 | [SERVICE_DEAD] = UNIT_INACTIVE, |
335 | diff --git a/src/coredump/coredump-vacuum.c b/src/coredump/coredump-vacuum.c | ||
336 | index 95c3fca661..d4a9f27b08 100644 | ||
337 | --- a/src/coredump/coredump-vacuum.c | 293 | --- a/src/coredump/coredump-vacuum.c |
338 | +++ b/src/coredump/coredump-vacuum.c | 294 | +++ b/src/coredump/coredump-vacuum.c |
339 | @@ -16,6 +16,7 @@ | 295 | @@ -16,6 +16,7 @@ |
@@ -344,8 +300,6 @@ index 95c3fca661..d4a9f27b08 100644 | |||
344 | 300 | ||
345 | #define DEFAULT_MAX_USE_LOWER (uint64_t) (1ULL*1024ULL*1024ULL) /* 1 MiB */ | 301 | #define DEFAULT_MAX_USE_LOWER (uint64_t) (1ULL*1024ULL*1024ULL) /* 1 MiB */ |
346 | #define DEFAULT_MAX_USE_UPPER (uint64_t) (4ULL*1024ULL*1024ULL*1024ULL) /* 4 GiB */ | 302 | #define DEFAULT_MAX_USE_UPPER (uint64_t) (4ULL*1024ULL*1024ULL*1024ULL) /* 4 GiB */ |
347 | diff --git a/src/journal-remote/journal-remote-main.c b/src/journal-remote/journal-remote-main.c | ||
348 | index ae1d43756a..24de98c9f3 100644 | ||
349 | --- a/src/journal-remote/journal-remote-main.c | 303 | --- a/src/journal-remote/journal-remote-main.c |
350 | +++ b/src/journal-remote/journal-remote-main.c | 304 | +++ b/src/journal-remote/journal-remote-main.c |
351 | @@ -24,6 +24,7 @@ | 305 | @@ -24,6 +24,7 @@ |
@@ -356,8 +310,6 @@ index ae1d43756a..24de98c9f3 100644 | |||
356 | 310 | ||
357 | #define PRIV_KEY_FILE CERTIFICATE_ROOT "/private/journal-remote.pem" | 311 | #define PRIV_KEY_FILE CERTIFICATE_ROOT "/private/journal-remote.pem" |
358 | #define CERT_FILE CERTIFICATE_ROOT "/certs/journal-remote.pem" | 312 | #define CERT_FILE CERTIFICATE_ROOT "/certs/journal-remote.pem" |
359 | diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c | ||
360 | index 76d05c1eee..0beb77b2e5 100644 | ||
361 | --- a/src/journal/journalctl.c | 313 | --- a/src/journal/journalctl.c |
362 | +++ b/src/journal/journalctl.c | 314 | +++ b/src/journal/journalctl.c |
363 | @@ -72,6 +72,7 @@ | 315 | @@ -72,6 +72,7 @@ |
@@ -368,8 +320,6 @@ index 76d05c1eee..0beb77b2e5 100644 | |||
368 | 320 | ||
369 | #define DEFAULT_FSS_INTERVAL_USEC (15*USEC_PER_MINUTE) | 321 | #define DEFAULT_FSS_INTERVAL_USEC (15*USEC_PER_MINUTE) |
370 | #define PROCESS_INOTIFY_INTERVAL 1024 /* Every 1,024 messages processed */ | 322 | #define PROCESS_INOTIFY_INTERVAL 1024 /* Every 1,024 messages processed */ |
371 | diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c | ||
372 | index b25064b672..b3bbe63a91 100644 | ||
373 | --- a/src/libsystemd/sd-bus/bus-message.c | 323 | --- a/src/libsystemd/sd-bus/bus-message.c |
374 | +++ b/src/libsystemd/sd-bus/bus-message.c | 324 | +++ b/src/libsystemd/sd-bus/bus-message.c |
375 | @@ -20,6 +20,7 @@ | 325 | @@ -20,6 +20,7 @@ |
@@ -380,8 +330,6 @@ index b25064b672..b3bbe63a91 100644 | |||
380 | 330 | ||
381 | static int message_append_basic(sd_bus_message *m, char type, const void *p, const void **stored); | 331 | static int message_append_basic(sd_bus_message *m, char type, const void *p, const void **stored); |
382 | 332 | ||
383 | diff --git a/src/libsystemd/sd-bus/bus-objects.c b/src/libsystemd/sd-bus/bus-objects.c | ||
384 | index bfd42aea7d..daefc56e3e 100644 | ||
385 | --- a/src/libsystemd/sd-bus/bus-objects.c | 333 | --- a/src/libsystemd/sd-bus/bus-objects.c |
386 | +++ b/src/libsystemd/sd-bus/bus-objects.c | 334 | +++ b/src/libsystemd/sd-bus/bus-objects.c |
387 | @@ -12,6 +12,7 @@ | 335 | @@ -12,6 +12,7 @@ |
@@ -392,8 +340,6 @@ index bfd42aea7d..daefc56e3e 100644 | |||
392 | 340 | ||
393 | static int node_vtable_get_userdata( | 341 | static int node_vtable_get_userdata( |
394 | sd_bus *bus, | 342 | sd_bus *bus, |
395 | diff --git a/src/libsystemd/sd-bus/bus-socket.c b/src/libsystemd/sd-bus/bus-socket.c | ||
396 | index 832526cc1b..7bff701806 100644 | ||
397 | --- a/src/libsystemd/sd-bus/bus-socket.c | 343 | --- a/src/libsystemd/sd-bus/bus-socket.c |
398 | +++ b/src/libsystemd/sd-bus/bus-socket.c | 344 | +++ b/src/libsystemd/sd-bus/bus-socket.c |
399 | @@ -28,6 +28,7 @@ | 345 | @@ -28,6 +28,7 @@ |
@@ -404,8 +350,6 @@ index 832526cc1b..7bff701806 100644 | |||
404 | 350 | ||
405 | #define SNDBUF_SIZE (8*1024*1024) | 351 | #define SNDBUF_SIZE (8*1024*1024) |
406 | 352 | ||
407 | diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c | ||
408 | index e719c74370..ac2a605680 100644 | ||
409 | --- a/src/libsystemd/sd-bus/sd-bus.c | 353 | --- a/src/libsystemd/sd-bus/sd-bus.c |
410 | +++ b/src/libsystemd/sd-bus/sd-bus.c | 354 | +++ b/src/libsystemd/sd-bus/sd-bus.c |
411 | @@ -41,6 +41,7 @@ | 355 | @@ -41,6 +41,7 @@ |
@@ -416,8 +360,6 @@ index e719c74370..ac2a605680 100644 | |||
416 | 360 | ||
417 | #define log_debug_bus_message(m) \ | 361 | #define log_debug_bus_message(m) \ |
418 | do { \ | 362 | do { \ |
419 | diff --git a/src/libsystemd/sd-bus/test-bus-benchmark.c b/src/libsystemd/sd-bus/test-bus-benchmark.c | ||
420 | index 13c08fe295..9aae83486e 100644 | ||
421 | --- a/src/libsystemd/sd-bus/test-bus-benchmark.c | 363 | --- a/src/libsystemd/sd-bus/test-bus-benchmark.c |
422 | +++ b/src/libsystemd/sd-bus/test-bus-benchmark.c | 364 | +++ b/src/libsystemd/sd-bus/test-bus-benchmark.c |
423 | @@ -14,6 +14,7 @@ | 365 | @@ -14,6 +14,7 @@ |
@@ -428,8 +370,6 @@ index 13c08fe295..9aae83486e 100644 | |||
428 | 370 | ||
429 | #define MAX_SIZE (2*1024*1024) | 371 | #define MAX_SIZE (2*1024*1024) |
430 | 372 | ||
431 | diff --git a/src/libsystemd/sd-journal/sd-journal.c b/src/libsystemd/sd-journal/sd-journal.c | ||
432 | index c90b4c926e..0efdccff5d 100644 | ||
433 | --- a/src/libsystemd/sd-journal/sd-journal.c | 373 | --- a/src/libsystemd/sd-journal/sd-journal.c |
434 | +++ b/src/libsystemd/sd-journal/sd-journal.c | 374 | +++ b/src/libsystemd/sd-journal/sd-journal.c |
435 | @@ -40,6 +40,7 @@ | 375 | @@ -40,6 +40,7 @@ |
@@ -440,8 +380,6 @@ index c90b4c926e..0efdccff5d 100644 | |||
440 | 380 | ||
441 | #define JOURNAL_FILES_MAX 7168 | 381 | #define JOURNAL_FILES_MAX 7168 |
442 | 382 | ||
443 | diff --git a/src/locale/keymap-util.c b/src/locale/keymap-util.c | ||
444 | index d2f0566dbc..3b7746557e 100644 | ||
445 | --- a/src/locale/keymap-util.c | 383 | --- a/src/locale/keymap-util.c |
446 | +++ b/src/locale/keymap-util.c | 384 | +++ b/src/locale/keymap-util.c |
447 | @@ -24,6 +24,7 @@ | 385 | @@ -24,6 +24,7 @@ |
@@ -452,8 +390,6 @@ index d2f0566dbc..3b7746557e 100644 | |||
452 | 390 | ||
453 | static bool startswith_comma(const char *s, const char *prefix) { | 391 | static bool startswith_comma(const char *s, const char *prefix) { |
454 | s = startswith(s, prefix); | 392 | s = startswith(s, prefix); |
455 | diff --git a/src/login/pam_systemd.c b/src/login/pam_systemd.c | ||
456 | index 2021c31bd5..58eb09808d 100644 | ||
457 | --- a/src/login/pam_systemd.c | 393 | --- a/src/login/pam_systemd.c |
458 | +++ b/src/login/pam_systemd.c | 394 | +++ b/src/login/pam_systemd.c |
459 | @@ -31,6 +31,7 @@ | 395 | @@ -31,6 +31,7 @@ |
@@ -464,8 +400,6 @@ index 2021c31bd5..58eb09808d 100644 | |||
464 | #include "pam-util.h" | 400 | #include "pam-util.h" |
465 | #include "parse-util.h" | 401 | #include "parse-util.h" |
466 | #include "path-util.h" | 402 | #include "path-util.h" |
467 | diff --git a/src/network/generator/network-generator.c b/src/network/generator/network-generator.c | ||
468 | index ae673ddf5b..a79e5114ca 100644 | ||
469 | --- a/src/network/generator/network-generator.c | 403 | --- a/src/network/generator/network-generator.c |
470 | +++ b/src/network/generator/network-generator.c | 404 | +++ b/src/network/generator/network-generator.c |
471 | @@ -13,6 +13,7 @@ | 405 | @@ -13,6 +13,7 @@ |
@@ -476,8 +410,6 @@ index ae673ddf5b..a79e5114ca 100644 | |||
476 | 410 | ||
477 | /* | 411 | /* |
478 | # .network | 412 | # .network |
479 | diff --git a/src/nspawn/nspawn-settings.c b/src/nspawn/nspawn-settings.c | ||
480 | index d4619bead5..0e832fd994 100644 | ||
481 | --- a/src/nspawn/nspawn-settings.c | 413 | --- a/src/nspawn/nspawn-settings.c |
482 | +++ b/src/nspawn/nspawn-settings.c | 414 | +++ b/src/nspawn/nspawn-settings.c |
483 | @@ -16,6 +16,7 @@ | 415 | @@ -16,6 +16,7 @@ |
@@ -488,8 +420,6 @@ index d4619bead5..0e832fd994 100644 | |||
488 | 420 | ||
489 | Settings *settings_new(void) { | 421 | Settings *settings_new(void) { |
490 | Settings *s; | 422 | Settings *s; |
491 | diff --git a/src/nss-mymachines/nss-mymachines.c b/src/nss-mymachines/nss-mymachines.c | ||
492 | index 44715bb3e5..bc1e688b5e 100644 | ||
493 | --- a/src/nss-mymachines/nss-mymachines.c | 423 | --- a/src/nss-mymachines/nss-mymachines.c |
494 | +++ b/src/nss-mymachines/nss-mymachines.c | 424 | +++ b/src/nss-mymachines/nss-mymachines.c |
495 | @@ -21,6 +21,7 @@ | 425 | @@ -21,6 +21,7 @@ |
@@ -500,8 +430,6 @@ index 44715bb3e5..bc1e688b5e 100644 | |||
500 | 430 | ||
501 | static void setup_logging(void) { | 431 | static void setup_logging(void) { |
502 | /* We need a dummy function because log_parse_environment is a macro. */ | 432 | /* We need a dummy function because log_parse_environment is a macro. */ |
503 | diff --git a/src/portable/portable.c b/src/portable/portable.c | ||
504 | index f201f52531..c78ad0f471 100644 | ||
505 | --- a/src/portable/portable.c | 433 | --- a/src/portable/portable.c |
506 | +++ b/src/portable/portable.c | 434 | +++ b/src/portable/portable.c |
507 | @@ -32,6 +32,7 @@ | 435 | @@ -32,6 +32,7 @@ |
@@ -512,8 +440,6 @@ index f201f52531..c78ad0f471 100644 | |||
512 | 440 | ||
513 | static const char profile_dirs[] = CONF_PATHS_NULSTR("systemd/portable/profile"); | 441 | static const char profile_dirs[] = CONF_PATHS_NULSTR("systemd/portable/profile"); |
514 | 442 | ||
515 | diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c | ||
516 | index 52bbae3293..4ccbae09c4 100644 | ||
517 | --- a/src/resolve/resolvectl.c | 443 | --- a/src/resolve/resolvectl.c |
518 | +++ b/src/resolve/resolvectl.c | 444 | +++ b/src/resolve/resolvectl.c |
519 | @@ -41,6 +41,7 @@ | 445 | @@ -41,6 +41,7 @@ |
@@ -524,8 +450,6 @@ index 52bbae3293..4ccbae09c4 100644 | |||
524 | 450 | ||
525 | static int arg_family = AF_UNSPEC; | 451 | static int arg_family = AF_UNSPEC; |
526 | static int arg_ifindex = 0; | 452 | static int arg_ifindex = 0; |
527 | diff --git a/src/shared/bus-get-properties.c b/src/shared/bus-get-properties.c | ||
528 | index feb6d3807f..eb11d29e50 100644 | ||
529 | --- a/src/shared/bus-get-properties.c | 453 | --- a/src/shared/bus-get-properties.c |
530 | +++ b/src/shared/bus-get-properties.c | 454 | +++ b/src/shared/bus-get-properties.c |
531 | @@ -4,6 +4,7 @@ | 455 | @@ -4,6 +4,7 @@ |
@@ -536,8 +460,6 @@ index feb6d3807f..eb11d29e50 100644 | |||
536 | 460 | ||
537 | int bus_property_get_bool( | 461 | int bus_property_get_bool( |
538 | sd_bus *bus, | 462 | sd_bus *bus, |
539 | diff --git a/src/shared/bus-unit-procs.c b/src/shared/bus-unit-procs.c | ||
540 | index b76125e551..2e0892242f 100644 | ||
541 | --- a/src/shared/bus-unit-procs.c | 463 | --- a/src/shared/bus-unit-procs.c |
542 | +++ b/src/shared/bus-unit-procs.c | 464 | +++ b/src/shared/bus-unit-procs.c |
543 | @@ -10,6 +10,7 @@ | 465 | @@ -10,6 +10,7 @@ |
@@ -548,8 +470,6 @@ index b76125e551..2e0892242f 100644 | |||
548 | 470 | ||
549 | struct CGroupInfo { | 471 | struct CGroupInfo { |
550 | char *cgroup_path; | 472 | char *cgroup_path; |
551 | diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c | ||
552 | index a75178068b..3de06e2bd5 100644 | ||
553 | --- a/src/shared/bus-unit-util.c | 473 | --- a/src/shared/bus-unit-util.c |
554 | +++ b/src/shared/bus-unit-util.c | 474 | +++ b/src/shared/bus-unit-util.c |
555 | @@ -45,6 +45,7 @@ | 475 | @@ -45,6 +45,7 @@ |
@@ -560,8 +480,6 @@ index a75178068b..3de06e2bd5 100644 | |||
560 | 480 | ||
561 | int bus_parse_unit_info(sd_bus_message *message, UnitInfo *u) { | 481 | int bus_parse_unit_info(sd_bus_message *message, UnitInfo *u) { |
562 | assert(message); | 482 | assert(message); |
563 | diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c | ||
564 | index 64ca67993c..31e3d148ea 100644 | ||
565 | --- a/src/shared/bus-util.c | 483 | --- a/src/shared/bus-util.c |
566 | +++ b/src/shared/bus-util.c | 484 | +++ b/src/shared/bus-util.c |
567 | @@ -21,6 +21,7 @@ | 485 | @@ -21,6 +21,7 @@ |
@@ -572,8 +490,6 @@ index 64ca67993c..31e3d148ea 100644 | |||
572 | 490 | ||
573 | static int name_owner_change_callback(sd_bus_message *m, void *userdata, sd_bus_error *ret_error) { | 491 | static int name_owner_change_callback(sd_bus_message *m, void *userdata, sd_bus_error *ret_error) { |
574 | sd_event *e = userdata; | 492 | sd_event *e = userdata; |
575 | diff --git a/src/shared/dns-domain.c b/src/shared/dns-domain.c | ||
576 | index e43aa12882..cec9b413c1 100644 | ||
577 | --- a/src/shared/dns-domain.c | 493 | --- a/src/shared/dns-domain.c |
578 | +++ b/src/shared/dns-domain.c | 494 | +++ b/src/shared/dns-domain.c |
579 | @@ -17,6 +17,7 @@ | 495 | @@ -17,6 +17,7 @@ |
@@ -584,8 +500,6 @@ index e43aa12882..cec9b413c1 100644 | |||
584 | 500 | ||
585 | int dns_label_unescape(const char **name, char *dest, size_t sz, DNSLabelFlags flags) { | 501 | int dns_label_unescape(const char **name, char *dest, size_t sz, DNSLabelFlags flags) { |
586 | const char *n; | 502 | const char *n; |
587 | diff --git a/src/shared/journal-importer.c b/src/shared/journal-importer.c | ||
588 | index b2785f0552..5f00902882 100644 | ||
589 | --- a/src/shared/journal-importer.c | 503 | --- a/src/shared/journal-importer.c |
590 | +++ b/src/shared/journal-importer.c | 504 | +++ b/src/shared/journal-importer.c |
591 | @@ -14,6 +14,7 @@ | 505 | @@ -14,6 +14,7 @@ |
@@ -596,8 +510,6 @@ index b2785f0552..5f00902882 100644 | |||
596 | 510 | ||
597 | enum { | 511 | enum { |
598 | IMPORTER_STATE_LINE = 0, /* waiting to read, or reading line */ | 512 | IMPORTER_STATE_LINE = 0, /* waiting to read, or reading line */ |
599 | diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c | ||
600 | index e63c59bd94..dd9773c009 100644 | ||
601 | --- a/src/shared/logs-show.c | 513 | --- a/src/shared/logs-show.c |
602 | +++ b/src/shared/logs-show.c | 514 | +++ b/src/shared/logs-show.c |
603 | @@ -41,6 +41,7 @@ | 515 | @@ -41,6 +41,7 @@ |
@@ -608,8 +520,6 @@ index e63c59bd94..dd9773c009 100644 | |||
608 | 520 | ||
609 | /* up to three lines (each up to 100 characters) or 300 characters, whichever is less */ | 521 | /* up to three lines (each up to 100 characters) or 300 characters, whichever is less */ |
610 | #define PRINT_LINE_THRESHOLD 3 | 522 | #define PRINT_LINE_THRESHOLD 3 |
611 | diff --git a/src/shared/pager.c b/src/shared/pager.c | ||
612 | index 4bbad7e37b..eefcdd068c 100644 | ||
613 | --- a/src/shared/pager.c | 523 | --- a/src/shared/pager.c |
614 | +++ b/src/shared/pager.c | 524 | +++ b/src/shared/pager.c |
615 | @@ -26,6 +26,7 @@ | 525 | @@ -26,6 +26,7 @@ |
@@ -620,8 +530,6 @@ index 4bbad7e37b..eefcdd068c 100644 | |||
620 | 530 | ||
621 | static pid_t pager_pid = 0; | 531 | static pid_t pager_pid = 0; |
622 | 532 | ||
623 | diff --git a/src/shared/uid-range.c b/src/shared/uid-range.c | ||
624 | index 5d5bf7f21d..f1002ffa6c 100644 | ||
625 | --- a/src/shared/uid-range.c | 533 | --- a/src/shared/uid-range.c |
626 | +++ b/src/shared/uid-range.c | 534 | +++ b/src/shared/uid-range.c |
627 | @@ -9,6 +9,7 @@ | 535 | @@ -9,6 +9,7 @@ |
@@ -632,8 +540,6 @@ index 5d5bf7f21d..f1002ffa6c 100644 | |||
632 | 540 | ||
633 | static bool uid_range_intersect(UidRange *range, uid_t start, uid_t nr) { | 541 | static bool uid_range_intersect(UidRange *range, uid_t start, uid_t nr) { |
634 | assert(range); | 542 | assert(range); |
635 | diff --git a/src/socket-proxy/socket-proxyd.c b/src/socket-proxy/socket-proxyd.c | ||
636 | index 6e3ee0d76b..7727e33d95 100644 | ||
637 | --- a/src/socket-proxy/socket-proxyd.c | 543 | --- a/src/socket-proxy/socket-proxyd.c |
638 | +++ b/src/socket-proxy/socket-proxyd.c | 544 | +++ b/src/socket-proxy/socket-proxyd.c |
639 | @@ -26,6 +26,7 @@ | 545 | @@ -26,6 +26,7 @@ |
@@ -644,8 +550,6 @@ index 6e3ee0d76b..7727e33d95 100644 | |||
644 | 550 | ||
645 | #define BUFFER_SIZE (256 * 1024) | 551 | #define BUFFER_SIZE (256 * 1024) |
646 | 552 | ||
647 | diff --git a/src/test/test-hexdecoct.c b/src/test/test-hexdecoct.c | ||
648 | index c9d318b8d1..fcb8d40805 100644 | ||
649 | --- a/src/test/test-hexdecoct.c | 553 | --- a/src/test/test-hexdecoct.c |
650 | +++ b/src/test/test-hexdecoct.c | 554 | +++ b/src/test/test-hexdecoct.c |
651 | @@ -6,6 +6,7 @@ | 555 | @@ -6,6 +6,7 @@ |
@@ -656,8 +560,6 @@ index c9d318b8d1..fcb8d40805 100644 | |||
656 | 560 | ||
657 | static void test_hexchar(void) { | 561 | static void test_hexchar(void) { |
658 | assert_se(hexchar(0xa) == 'a'); | 562 | assert_se(hexchar(0xa) == 'a'); |
659 | diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c | ||
660 | index 09cc1c3bd8..8a7d3152a7 100644 | ||
661 | --- a/src/udev/udev-builtin-path_id.c | 563 | --- a/src/udev/udev-builtin-path_id.c |
662 | +++ b/src/udev/udev-builtin-path_id.c | 564 | +++ b/src/udev/udev-builtin-path_id.c |
663 | @@ -22,6 +22,7 @@ | 565 | @@ -22,6 +22,7 @@ |
@@ -668,8 +570,6 @@ index 09cc1c3bd8..8a7d3152a7 100644 | |||
668 | 570 | ||
669 | _printf_(2,3) | 571 | _printf_(2,3) |
670 | static void path_prepend(char **path, const char *fmt, ...) { | 572 | static void path_prepend(char **path, const char *fmt, ...) { |
671 | diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c | ||
672 | index 12597194a9..208b2458b5 100644 | ||
673 | --- a/src/udev/udev-event.c | 573 | --- a/src/udev/udev-event.c |
674 | +++ b/src/udev/udev-event.c | 574 | +++ b/src/udev/udev-event.c |
675 | @@ -33,6 +33,7 @@ | 575 | @@ -33,6 +33,7 @@ |
@@ -680,8 +580,6 @@ index 12597194a9..208b2458b5 100644 | |||
680 | 580 | ||
681 | typedef struct Spawn { | 581 | typedef struct Spawn { |
682 | sd_device *device; | 582 | sd_device *device; |
683 | diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c | ||
684 | index 57ede6a197..dc59857765 100644 | ||
685 | --- a/src/udev/udev-rules.c | 583 | --- a/src/udev/udev-rules.c |
686 | +++ b/src/udev/udev-rules.c | 584 | +++ b/src/udev/udev-rules.c |
687 | @@ -31,6 +31,7 @@ | 585 | @@ -31,6 +31,7 @@ |
@@ -692,3 +590,13 @@ index 57ede6a197..dc59857765 100644 | |||
692 | 590 | ||
693 | #define RULES_DIRS (const char* const*) CONF_PATHS_STRV("udev/rules.d") | 591 | #define RULES_DIRS (const char* const*) CONF_PATHS_STRV("udev/rules.d") |
694 | 592 | ||
593 | --- a/src/basic/percent-util.c | ||
594 | +++ b/src/basic/percent-util.c | ||
595 | @@ -3,6 +3,7 @@ | ||
596 | #include "percent-util.h" | ||
597 | #include "string-util.h" | ||
598 | #include "parse-util.h" | ||
599 | +#include "missing_stdlib.h" | ||
600 | |||
601 | static int parse_parts_value_whole(const char *p, const char *symbol) { | ||
602 | const char *pc, *n; | ||
diff --git a/meta/recipes-core/systemd/systemd_248.3.bb b/meta/recipes-core/systemd/systemd_248.3.bb index b241330d96..4e65656494 100644 --- a/meta/recipes-core/systemd/systemd_248.3.bb +++ b/meta/recipes-core/systemd/systemd_248.3.bb | |||
@@ -25,6 +25,7 @@ SRC_URI += " \ | |||
25 | file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \ | 25 | file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \ |
26 | file://0003-implment-systemd-sysv-install-for-OE.patch \ | 26 | file://0003-implment-systemd-sysv-install-for-OE.patch \ |
27 | file://0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch \ | 27 | file://0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch \ |
28 | file://0001-test-parse-argument-Include-signal.h.patch \ | ||
28 | " | 29 | " |
29 | 30 | ||
30 | # patches needed by musl | 31 | # patches needed by musl |