diff options
| author | Randy MacLeod <Randy.MacLeod@windriver.com> | 2024-11-13 19:49:30 -0500 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-11-26 06:11:30 -0800 |
| commit | fb691445b2ff00138974206342015e8f1741b9fe (patch) | |
| tree | 91bf562048e023af70f4eaff94a6e6edcf0c6f6f /meta | |
| parent | 03e5a3f5f5cbc0d59dbb83e66d0ee29faf5654d9 (diff) | |
| download | poky-fb691445b2ff00138974206342015e8f1741b9fe.tar.gz | |
systemd: stable update 255.4 -> 255.13
Full change log:
https://github.com/systemd/systemd-stable/compare/v255.4...v255.13
Refreshed most of the musl patches using devtool to eliminate patch fuzz.
(From OE-Core rev: 39eb4070503a96311e52f44ab1ea3cdbd6795182)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
28 files changed, 134 insertions, 208 deletions
diff --git a/meta/recipes-core/systemd/systemd-boot-native_255.4.bb b/meta/recipes-core/systemd/systemd-boot-native_255.13.bb index 73db59b14e..73db59b14e 100644 --- a/meta/recipes-core/systemd/systemd-boot-native_255.4.bb +++ b/meta/recipes-core/systemd/systemd-boot-native_255.13.bb | |||
diff --git a/meta/recipes-core/systemd/systemd-boot_255.4.bb b/meta/recipes-core/systemd/systemd-boot_255.13.bb index 4ee25ee72f..4ee25ee72f 100644 --- a/meta/recipes-core/systemd/systemd-boot_255.4.bb +++ b/meta/recipes-core/systemd/systemd-boot_255.13.bb | |||
diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc index a35db5091e..88f24f99c2 100644 --- a/meta/recipes-core/systemd/systemd.inc +++ b/meta/recipes-core/systemd/systemd.inc | |||
| @@ -15,7 +15,7 @@ LICENSE:libsystemd = "LGPL-2.1-or-later" | |||
| 15 | LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ | 15 | LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ |
| 16 | file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" | 16 | file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" |
| 17 | 17 | ||
| 18 | SRCREV = "387a14a7b67b8b76adaed4175e14bb7e39b2f738" | 18 | SRCREV = "565916c245b53b49f5917f5326d21246f46ae3db" |
| 19 | SRCBRANCH = "v255-stable" | 19 | SRCBRANCH = "v255-stable" |
| 20 | SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH}" | 20 | SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH}" |
| 21 | 21 | ||
diff --git a/meta/recipes-core/systemd/systemd/0001-missing_type.h-add-comparison_fn_t.patch b/meta/recipes-core/systemd/systemd/0001-missing_type.h-add-comparison_fn_t.patch index 2aa5dee6b5..78a4bf5868 100644 --- a/meta/recipes-core/systemd/systemd/0001-missing_type.h-add-comparison_fn_t.patch +++ b/meta/recipes-core/systemd/systemd/0001-missing_type.h-add-comparison_fn_t.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 01195eb9f7d59139fb45df506ac6b3968c14a57f Mon Sep 17 00:00:00 2001 | 1 | From af2784935b483bd0eb5705ef7072a5cea6fe9eef Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Mon, 25 Feb 2019 13:55:12 +0800 | 3 | Date: Mon, 25 Feb 2019 13:55:12 +0800 |
| 4 | Subject: [PATCH 01/22] missing_type.h: add comparison_fn_t | 4 | Subject: [PATCH] missing_type.h: add comparison_fn_t |
| 5 | 5 | ||
| 6 | Make it work with musl where comparison_fn_t and is not provided. | 6 | Make it work with musl where comparison_fn_t and is not provided. |
| 7 | 7 | ||
| @@ -56,6 +56,3 @@ index ae91534198..7f67eea38b 100644 | |||
| 56 | 56 | ||
| 57 | const char * const catalog_file_dirs[] = { | 57 | const char * const catalog_file_dirs[] = { |
| 58 | "/usr/local/lib/systemd/catalog/", | 58 | "/usr/local/lib/systemd/catalog/", |
| 59 | -- | ||
| 60 | 2.34.1 | ||
| 61 | |||
diff --git a/meta/recipes-core/systemd/systemd/0002-add-fallback-parse_printf_format-implementation.patch b/meta/recipes-core/systemd/systemd/0002-add-fallback-parse_printf_format-implementation.patch index 900a931632..e19f7dc688 100644 --- a/meta/recipes-core/systemd/systemd/0002-add-fallback-parse_printf_format-implementation.patch +++ b/meta/recipes-core/systemd/systemd/0002-add-fallback-parse_printf_format-implementation.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 872b72739e62123867ce6c4f82aa37de24cc3f75 Mon Sep 17 00:00:00 2001 | 1 | From b9b4f9bbca46832ea152979d8c9459f29c2e83fa Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Sat, 22 May 2021 20:26:24 +0200 | 3 | Date: Sat, 22 May 2021 20:26:24 +0200 |
| 4 | Subject: [PATCH 02/22] add fallback parse_printf_format implementation | 4 | Subject: [PATCH] add fallback parse_printf_format implementation |
| 5 | 5 | ||
| 6 | Upstream-Status: Inappropriate [musl specific] | 6 | Upstream-Status: Inappropriate [musl specific] |
| 7 | 7 | ||
| @@ -22,10 +22,10 @@ Signed-off-by: Scott Murray <scott.murray@konsulko.com> | |||
| 22 | create mode 100644 src/basic/parse-printf-format.h | 22 | create mode 100644 src/basic/parse-printf-format.h |
| 23 | 23 | ||
| 24 | diff --git a/meson.build b/meson.build | 24 | diff --git a/meson.build b/meson.build |
| 25 | index 7419e2b0b0..01fd3ffc19 100644 | 25 | index 2418d6e8f7..b544a69aaa 100644 |
| 26 | --- a/meson.build | 26 | --- a/meson.build |
| 27 | +++ b/meson.build | 27 | +++ b/meson.build |
| 28 | @@ -725,6 +725,7 @@ endif | 28 | @@ -731,6 +731,7 @@ endif |
| 29 | foreach header : ['crypt.h', | 29 | foreach header : ['crypt.h', |
| 30 | 'linux/memfd.h', | 30 | 'linux/memfd.h', |
| 31 | 'linux/vm_sockets.h', | 31 | 'linux/vm_sockets.h', |
| @@ -34,7 +34,7 @@ index 7419e2b0b0..01fd3ffc19 100644 | |||
| 34 | 'threads.h', | 34 | 'threads.h', |
| 35 | 'valgrind/memcheck.h', | 35 | 'valgrind/memcheck.h', |
| 36 | diff --git a/src/basic/meson.build b/src/basic/meson.build | 36 | diff --git a/src/basic/meson.build b/src/basic/meson.build |
| 37 | index d7450d8b44..c3e3daf4bd 100644 | 37 | index 111253e3a5..bdaa2fc5e4 100644 |
| 38 | --- a/src/basic/meson.build | 38 | --- a/src/basic/meson.build |
| 39 | +++ b/src/basic/meson.build | 39 | +++ b/src/basic/meson.build |
| 40 | @@ -183,6 +183,11 @@ endforeach | 40 | @@ -183,6 +183,11 @@ endforeach |
| @@ -429,6 +429,3 @@ index be23b2fe75..69a2eb6404 100644 | |||
| 429 | 429 | ||
| 430 | #define SNDBUF_SIZE (8*1024*1024) | 430 | #define SNDBUF_SIZE (8*1024*1024) |
| 431 | 431 | ||
| 432 | -- | ||
| 433 | 2.34.1 | ||
| 434 | |||
diff --git a/meta/recipes-core/systemd/systemd/0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch b/meta/recipes-core/systemd/systemd/0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch index be231cf6b2..aca30d5ffe 100644 --- a/meta/recipes-core/systemd/systemd/0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch +++ b/meta/recipes-core/systemd/systemd/0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | From 29a58009a172e369ad7166e16dab2f4945c6b0d2 Mon Sep 17 00:00:00 2001 | 1 | From 178b7b4adefdf1d80fa3a5eb54a49ef0fc12369f Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Thu, 21 Feb 2019 16:23:24 +0800 | 3 | Date: Thu, 21 Feb 2019 16:23:24 +0800 |
| 4 | Subject: [PATCH 1/2] binfmt: Don't install dependency links at install time | 4 | Subject: [PATCH] binfmt: Don't install dependency links at install time for |
| 5 | for the binfmt services | 5 | the binfmt services |
| 6 | 6 | ||
| 7 | use [Install] blocks so that they get created when the service is enabled | 7 | use [Install] blocks so that they get created when the service is enabled |
| 8 | like a traditional service. | 8 | like a traditional service. |
| @@ -74,6 +74,3 @@ index 6861c76674..531e9fbd90 100644 | |||
| 74 | + | 74 | + |
| 75 | +[Install] | 75 | +[Install] |
| 76 | +WantedBy=sysinit.target | 76 | +WantedBy=sysinit.target |
| 77 | -- | ||
| 78 | 2.34.1 | ||
| 79 | |||
diff --git a/meta/recipes-core/systemd/systemd/0003-src-basic-missing.h-check-for-missing-strndupa.patch b/meta/recipes-core/systemd/systemd/0003-src-basic-missing.h-check-for-missing-strndupa.patch index 5595b5bc23..802002a1c3 100644 --- a/meta/recipes-core/systemd/systemd/0003-src-basic-missing.h-check-for-missing-strndupa.patch +++ b/meta/recipes-core/systemd/systemd/0003-src-basic-missing.h-check-for-missing-strndupa.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 87f1d38f40c5fe9cadf2b2de442473e4e5605788 Mon Sep 17 00:00:00 2001 | 1 | From eca6019bbd793c8d8a99142677a548766a775153 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Mon, 25 Feb 2019 14:18:21 +0800 | 3 | Date: Mon, 25 Feb 2019 14:18:21 +0800 |
| 4 | Subject: [PATCH 03/22] src/basic/missing.h: check for missing strndupa | 4 | Subject: [PATCH] src/basic/missing.h: check for missing strndupa |
| 5 | 5 | ||
| 6 | include missing.h for definition of strndupa | 6 | include missing.h for definition of strndupa |
| 7 | 7 | ||
| @@ -75,10 +75,10 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
| 75 | 51 files changed, 62 insertions(+) | 75 | 51 files changed, 62 insertions(+) |
| 76 | 76 | ||
| 77 | diff --git a/meson.build b/meson.build | 77 | diff --git a/meson.build b/meson.build |
| 78 | index 01fd3ffc19..61a872b753 100644 | 78 | index b544a69aaa..90b07aeb14 100644 |
| 79 | --- a/meson.build | 79 | --- a/meson.build |
| 80 | +++ b/meson.build | 80 | +++ b/meson.build |
| 81 | @@ -567,6 +567,7 @@ foreach ident : ['secure_getenv', '__secure_getenv'] | 81 | @@ -572,6 +572,7 @@ foreach ident : ['secure_getenv', '__secure_getenv'] |
| 82 | endforeach | 82 | endforeach |
| 83 | 83 | ||
| 84 | foreach ident : [ | 84 | foreach ident : [ |
| @@ -87,7 +87,7 @@ index 01fd3ffc19..61a872b753 100644 | |||
| 87 | ['gettid', '''#include <sys/types.h> | 87 | ['gettid', '''#include <sys/types.h> |
| 88 | #include <unistd.h>'''], | 88 | #include <unistd.h>'''], |
| 89 | diff --git a/src/backlight/backlight.c b/src/backlight/backlight.c | 89 | diff --git a/src/backlight/backlight.c b/src/backlight/backlight.c |
| 90 | index 5ac9f904a9..99d5122dd7 100644 | 90 | index b2032adaa5..ee9201826d 100644 |
| 91 | --- a/src/backlight/backlight.c | 91 | --- a/src/backlight/backlight.c |
| 92 | +++ b/src/backlight/backlight.c | 92 | +++ b/src/backlight/backlight.c |
| 93 | @@ -20,6 +20,7 @@ | 93 | @@ -20,6 +20,7 @@ |
| @@ -99,7 +99,7 @@ index 5ac9f904a9..99d5122dd7 100644 | |||
| 99 | #define PCI_CLASS_GRAPHICS_CARD 0x30000 | 99 | #define PCI_CLASS_GRAPHICS_CARD 0x30000 |
| 100 | 100 | ||
| 101 | diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c | 101 | diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c |
| 102 | index 18b16ecc0e..d2be79622f 100644 | 102 | index 50224648d3..2eaa6e3307 100644 |
| 103 | --- a/src/basic/cgroup-util.c | 103 | --- a/src/basic/cgroup-util.c |
| 104 | +++ b/src/basic/cgroup-util.c | 104 | +++ b/src/basic/cgroup-util.c |
| 105 | @@ -38,6 +38,7 @@ | 105 | @@ -38,6 +38,7 @@ |
| @@ -111,7 +111,7 @@ index 18b16ecc0e..d2be79622f 100644 | |||
| 111 | static int cg_enumerate_items(const char *controller, const char *path, FILE **ret, const char *item) { | 111 | static int cg_enumerate_items(const char *controller, const char *path, FILE **ret, const char *item) { |
| 112 | _cleanup_free_ char *fs = NULL; | 112 | _cleanup_free_ char *fs = NULL; |
| 113 | diff --git a/src/basic/env-util.c b/src/basic/env-util.c | 113 | diff --git a/src/basic/env-util.c b/src/basic/env-util.c |
| 114 | index d3bf73385f..16b17358ca 100644 | 114 | index a97651d7af..09fa601250 100644 |
| 115 | --- a/src/basic/env-util.c | 115 | --- a/src/basic/env-util.c |
| 116 | +++ b/src/basic/env-util.c | 116 | +++ b/src/basic/env-util.c |
| 117 | @@ -19,6 +19,7 @@ | 117 | @@ -19,6 +19,7 @@ |
| @@ -123,7 +123,7 @@ index d3bf73385f..16b17358ca 100644 | |||
| 123 | /* We follow bash for the character set. Different shells have different rules. */ | 123 | /* We follow bash for the character set. Different shells have different rules. */ |
| 124 | #define VALID_BASH_ENV_NAME_CHARS \ | 124 | #define VALID_BASH_ENV_NAME_CHARS \ |
| 125 | diff --git a/src/basic/log.c b/src/basic/log.c | 125 | diff --git a/src/basic/log.c b/src/basic/log.c |
| 126 | index 1470611a75..9924ec2b9a 100644 | 126 | index ade6c8b089..0ba68b2119 100644 |
| 127 | --- a/src/basic/log.c | 127 | --- a/src/basic/log.c |
| 128 | +++ b/src/basic/log.c | 128 | +++ b/src/basic/log.c |
| 129 | @@ -40,6 +40,7 @@ | 129 | @@ -40,6 +40,7 @@ |
| @@ -167,7 +167,7 @@ index c770e5ed32..1fd8816cd0 100644 | |||
| 167 | int mkdirat_safe_internal( | 167 | int mkdirat_safe_internal( |
| 168 | int dir_fd, | 168 | int dir_fd, |
| 169 | diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c | 169 | diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c |
| 170 | index bf67f7e01a..409f8d8a73 100644 | 170 | index 51fbe4ed84..26626c1499 100644 |
| 171 | --- a/src/basic/mountpoint-util.c | 171 | --- a/src/basic/mountpoint-util.c |
| 172 | +++ b/src/basic/mountpoint-util.c | 172 | +++ b/src/basic/mountpoint-util.c |
| 173 | @@ -18,6 +18,7 @@ | 173 | @@ -18,6 +18,7 @@ |
| @@ -191,7 +191,7 @@ index 0430e33e40..f3728de026 100644 | |||
| 191 | int parse_boolean(const char *v) { | 191 | int parse_boolean(const char *v) { |
| 192 | if (!v) | 192 | if (!v) |
| 193 | diff --git a/src/basic/path-lookup.c b/src/basic/path-lookup.c | 193 | diff --git a/src/basic/path-lookup.c b/src/basic/path-lookup.c |
| 194 | index 4e3d59fc56..726e240df0 100644 | 194 | index d76705bd4b..149fb249d0 100644 |
| 195 | --- a/src/basic/path-lookup.c | 195 | --- a/src/basic/path-lookup.c |
| 196 | +++ b/src/basic/path-lookup.c | 196 | +++ b/src/basic/path-lookup.c |
| 197 | @@ -16,6 +16,7 @@ | 197 | @@ -16,6 +16,7 @@ |
| @@ -251,7 +251,7 @@ index f9014dc560..1d7840a5b5 100644 | |||
| 251 | static clockid_t map_clock_id(clockid_t c) { | 251 | static clockid_t map_clock_id(clockid_t c) { |
| 252 | 252 | ||
| 253 | diff --git a/src/boot/bless-boot.c b/src/boot/bless-boot.c | 253 | diff --git a/src/boot/bless-boot.c b/src/boot/bless-boot.c |
| 254 | index 0c0b4f23c7..68fe5ca509 100644 | 254 | index 12dfdf76fa..e66332519a 100644 |
| 255 | --- a/src/boot/bless-boot.c | 255 | --- a/src/boot/bless-boot.c |
| 256 | +++ b/src/boot/bless-boot.c | 256 | +++ b/src/boot/bless-boot.c |
| 257 | @@ -22,6 +22,7 @@ | 257 | @@ -22,6 +22,7 @@ |
| @@ -263,7 +263,7 @@ index 0c0b4f23c7..68fe5ca509 100644 | |||
| 263 | static char **arg_path = NULL; | 263 | static char **arg_path = NULL; |
| 264 | 264 | ||
| 265 | diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c | 265 | diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c |
| 266 | index 4237e694c0..05f9d9d9a9 100644 | 266 | index 88198010ee..74d61bfaaf 100644 |
| 267 | --- a/src/core/dbus-cgroup.c | 267 | --- a/src/core/dbus-cgroup.c |
| 268 | +++ b/src/core/dbus-cgroup.c | 268 | +++ b/src/core/dbus-cgroup.c |
| 269 | @@ -25,6 +25,7 @@ | 269 | @@ -25,6 +25,7 @@ |
| @@ -275,7 +275,7 @@ index 4237e694c0..05f9d9d9a9 100644 | |||
| 275 | 275 | ||
| 276 | BUS_DEFINE_PROPERTY_GET(bus_property_get_tasks_max, "t", CGroupTasksMax, cgroup_tasks_max_resolve); | 276 | BUS_DEFINE_PROPERTY_GET(bus_property_get_tasks_max, "t", CGroupTasksMax, cgroup_tasks_max_resolve); |
| 277 | diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c | 277 | diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c |
| 278 | index 4daa1cefd3..2c77901471 100644 | 278 | index 2d05ba7e1d..61a7de0037 100644 |
| 279 | --- a/src/core/dbus-execute.c | 279 | --- a/src/core/dbus-execute.c |
| 280 | +++ b/src/core/dbus-execute.c | 280 | +++ b/src/core/dbus-execute.c |
| 281 | @@ -42,6 +42,7 @@ | 281 | @@ -42,6 +42,7 @@ |
| @@ -287,10 +287,10 @@ index 4daa1cefd3..2c77901471 100644 | |||
| 287 | BUS_DEFINE_PROPERTY_GET_ENUM(bus_property_get_exec_output, exec_output, ExecOutput); | 287 | BUS_DEFINE_PROPERTY_GET_ENUM(bus_property_get_exec_output, exec_output, ExecOutput); |
| 288 | static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_exec_input, exec_input, ExecInput); | 288 | static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_exec_input, exec_input, ExecInput); |
| 289 | diff --git a/src/core/dbus-util.c b/src/core/dbus-util.c | 289 | diff --git a/src/core/dbus-util.c b/src/core/dbus-util.c |
| 290 | index d680a64268..e59f48103e 100644 | 290 | index 7bb026af48..a86128e40c 100644 |
| 291 | --- a/src/core/dbus-util.c | 291 | --- a/src/core/dbus-util.c |
| 292 | +++ b/src/core/dbus-util.c | 292 | +++ b/src/core/dbus-util.c |
| 293 | @@ -9,6 +9,7 @@ | 293 | @@ -10,6 +10,7 @@ |
| 294 | #include "unit-printf.h" | 294 | #include "unit-printf.h" |
| 295 | #include "user-util.h" | 295 | #include "user-util.h" |
| 296 | #include "unit.h" | 296 | #include "unit.h" |
| @@ -299,7 +299,7 @@ index d680a64268..e59f48103e 100644 | |||
| 299 | int bus_property_get_triggered_unit( | 299 | int bus_property_get_triggered_unit( |
| 300 | sd_bus *bus, | 300 | sd_bus *bus, |
| 301 | diff --git a/src/core/execute.c b/src/core/execute.c | 301 | diff --git a/src/core/execute.c b/src/core/execute.c |
| 302 | index ef0bf88687..bd3da0c401 100644 | 302 | index 4d597bf8a6..7d27f80834 100644 |
| 303 | --- a/src/core/execute.c | 303 | --- a/src/core/execute.c |
| 304 | +++ b/src/core/execute.c | 304 | +++ b/src/core/execute.c |
| 305 | @@ -72,6 +72,7 @@ | 305 | @@ -72,6 +72,7 @@ |
| @@ -323,7 +323,7 @@ index b8e3f7aadd..8ce8ca68d8 100644 | |||
| 323 | #if HAVE_KMOD | 323 | #if HAVE_KMOD |
| 324 | #include "module-util.h" | 324 | #include "module-util.h" |
| 325 | diff --git a/src/core/service.c b/src/core/service.c | 325 | diff --git a/src/core/service.c b/src/core/service.c |
| 326 | index b9eb40c555..268fe7573b 100644 | 326 | index 5f4859e0d3..a920154f55 100644 |
| 327 | --- a/src/core/service.c | 327 | --- a/src/core/service.c |
| 328 | +++ b/src/core/service.c | 328 | +++ b/src/core/service.c |
| 329 | @@ -45,6 +45,7 @@ | 329 | @@ -45,6 +45,7 @@ |
| @@ -359,7 +359,7 @@ index 016f3baa7f..b1def81313 100644 | |||
| 359 | typedef enum MountPointFlags { | 359 | typedef enum MountPointFlags { |
| 360 | MOUNT_NOAUTO = 1 << 0, | 360 | MOUNT_NOAUTO = 1 << 0, |
| 361 | diff --git a/src/journal-remote/journal-remote-main.c b/src/journal-remote/journal-remote-main.c | 361 | diff --git a/src/journal-remote/journal-remote-main.c b/src/journal-remote/journal-remote-main.c |
| 362 | index da0f20d3ce..f22ce41908 100644 | 362 | index 2d380bc7a7..d3f5612728 100644 |
| 363 | --- a/src/journal-remote/journal-remote-main.c | 363 | --- a/src/journal-remote/journal-remote-main.c |
| 364 | +++ b/src/journal-remote/journal-remote-main.c | 364 | +++ b/src/journal-remote/journal-remote-main.c |
| 365 | @@ -27,6 +27,7 @@ | 365 | @@ -27,6 +27,7 @@ |
| @@ -371,7 +371,7 @@ index da0f20d3ce..f22ce41908 100644 | |||
| 371 | #define PRIV_KEY_FILE CERTIFICATE_ROOT "/private/journal-remote.pem" | 371 | #define PRIV_KEY_FILE CERTIFICATE_ROOT "/private/journal-remote.pem" |
| 372 | #define CERT_FILE CERTIFICATE_ROOT "/certs/journal-remote.pem" | 372 | #define CERT_FILE CERTIFICATE_ROOT "/certs/journal-remote.pem" |
| 373 | diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c | 373 | diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c |
| 374 | index 7f3dcd56a4..41b7cbaaf1 100644 | 374 | index 87e2f28841..58275f41f1 100644 |
| 375 | --- a/src/journal/journalctl.c | 375 | --- a/src/journal/journalctl.c |
| 376 | +++ b/src/journal/journalctl.c | 376 | +++ b/src/journal/journalctl.c |
| 377 | @@ -77,6 +77,7 @@ | 377 | @@ -77,6 +77,7 @@ |
| @@ -383,7 +383,7 @@ index 7f3dcd56a4..41b7cbaaf1 100644 | |||
| 383 | #define DEFAULT_FSS_INTERVAL_USEC (15*USEC_PER_MINUTE) | 383 | #define DEFAULT_FSS_INTERVAL_USEC (15*USEC_PER_MINUTE) |
| 384 | #define PROCESS_INOTIFY_INTERVAL 1024 /* Every 1,024 messages processed */ | 384 | #define PROCESS_INOTIFY_INTERVAL 1024 /* Every 1,024 messages processed */ |
| 385 | diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c | 385 | diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c |
| 386 | index ff0228081f..9066fcb133 100644 | 386 | index ab8b06896d..43f9131205 100644 |
| 387 | --- a/src/libsystemd/sd-bus/bus-message.c | 387 | --- a/src/libsystemd/sd-bus/bus-message.c |
| 388 | +++ b/src/libsystemd/sd-bus/bus-message.c | 388 | +++ b/src/libsystemd/sd-bus/bus-message.c |
| 389 | @@ -19,6 +19,7 @@ | 389 | @@ -19,6 +19,7 @@ |
| @@ -407,7 +407,7 @@ index c25c40ff37..57a5da704f 100644 | |||
| 407 | static int node_vtable_get_userdata( | 407 | static int node_vtable_get_userdata( |
| 408 | sd_bus *bus, | 408 | sd_bus *bus, |
| 409 | diff --git a/src/libsystemd/sd-bus/bus-socket.c b/src/libsystemd/sd-bus/bus-socket.c | 409 | diff --git a/src/libsystemd/sd-bus/bus-socket.c b/src/libsystemd/sd-bus/bus-socket.c |
| 410 | index 3c59d0d615..746922d46f 100644 | 410 | index 5ade8e99aa..7553cf319d 100644 |
| 411 | --- a/src/libsystemd/sd-bus/bus-socket.c | 411 | --- a/src/libsystemd/sd-bus/bus-socket.c |
| 412 | +++ b/src/libsystemd/sd-bus/bus-socket.c | 412 | +++ b/src/libsystemd/sd-bus/bus-socket.c |
| 413 | @@ -29,6 +29,7 @@ | 413 | @@ -29,6 +29,7 @@ |
| @@ -419,7 +419,7 @@ index 3c59d0d615..746922d46f 100644 | |||
| 419 | #define SNDBUF_SIZE (8*1024*1024) | 419 | #define SNDBUF_SIZE (8*1024*1024) |
| 420 | 420 | ||
| 421 | diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c | 421 | diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c |
| 422 | index 4a0259f8bb..aaa90d2223 100644 | 422 | index 8befc97460..6ee4d4f595 100644 |
| 423 | --- a/src/libsystemd/sd-bus/sd-bus.c | 423 | --- a/src/libsystemd/sd-bus/sd-bus.c |
| 424 | +++ b/src/libsystemd/sd-bus/sd-bus.c | 424 | +++ b/src/libsystemd/sd-bus/sd-bus.c |
| 425 | @@ -46,6 +46,7 @@ | 425 | @@ -46,6 +46,7 @@ |
| @@ -443,7 +443,7 @@ index d988588de0..458df8df9a 100644 | |||
| 443 | #define MAX_SIZE (2*1024*1024) | 443 | #define MAX_SIZE (2*1024*1024) |
| 444 | 444 | ||
| 445 | diff --git a/src/libsystemd/sd-journal/sd-journal.c b/src/libsystemd/sd-journal/sd-journal.c | 445 | diff --git a/src/libsystemd/sd-journal/sd-journal.c b/src/libsystemd/sd-journal/sd-journal.c |
| 446 | index 6b9ff0a4ed..4a5027ad0f 100644 | 446 | index 7a1dd2569f..d187baad47 100644 |
| 447 | --- a/src/libsystemd/sd-journal/sd-journal.c | 447 | --- a/src/libsystemd/sd-journal/sd-journal.c |
| 448 | +++ b/src/libsystemd/sd-journal/sd-journal.c | 448 | +++ b/src/libsystemd/sd-journal/sd-journal.c |
| 449 | @@ -44,6 +44,7 @@ | 449 | @@ -44,6 +44,7 @@ |
| @@ -455,7 +455,7 @@ index 6b9ff0a4ed..4a5027ad0f 100644 | |||
| 455 | #define JOURNAL_FILES_RECHECK_USEC (2 * USEC_PER_SEC) | 455 | #define JOURNAL_FILES_RECHECK_USEC (2 * USEC_PER_SEC) |
| 456 | 456 | ||
| 457 | diff --git a/src/login/pam_systemd.c b/src/login/pam_systemd.c | 457 | diff --git a/src/login/pam_systemd.c b/src/login/pam_systemd.c |
| 458 | index b8da266e27..4bb8dd9496 100644 | 458 | index bf45974ca5..2cb7e930c0 100644 |
| 459 | --- a/src/login/pam_systemd.c | 459 | --- a/src/login/pam_systemd.c |
| 460 | +++ b/src/login/pam_systemd.c | 460 | +++ b/src/login/pam_systemd.c |
| 461 | @@ -35,6 +35,7 @@ | 461 | @@ -35,6 +35,7 @@ |
| @@ -503,10 +503,10 @@ index c64e79bdff..eda26b0b9a 100644 | |||
| 503 | static void setup_logging_once(void) { | 503 | static void setup_logging_once(void) { |
| 504 | static pthread_once_t once = PTHREAD_ONCE_INIT; | 504 | static pthread_once_t once = PTHREAD_ONCE_INIT; |
| 505 | diff --git a/src/portable/portable.c b/src/portable/portable.c | 505 | diff --git a/src/portable/portable.c b/src/portable/portable.c |
| 506 | index d4b448a627..bb26623565 100644 | 506 | index faeb97bd06..30768f728e 100644 |
| 507 | --- a/src/portable/portable.c | 507 | --- a/src/portable/portable.c |
| 508 | +++ b/src/portable/portable.c | 508 | +++ b/src/portable/portable.c |
| 509 | @@ -40,6 +40,7 @@ | 509 | @@ -42,6 +42,7 @@ |
| 510 | #include "strv.h" | 510 | #include "strv.h" |
| 511 | #include "tmpfile-util.h" | 511 | #include "tmpfile-util.h" |
| 512 | #include "user-util.h" | 512 | #include "user-util.h" |
| @@ -515,7 +515,7 @@ index d4b448a627..bb26623565 100644 | |||
| 515 | /* Markers used in the first line of our 20-portable.conf unit file drop-in to determine, that a) the unit file was | 515 | /* Markers used in the first line of our 20-portable.conf unit file drop-in to determine, that a) the unit file was |
| 516 | * dropped there by the portable service logic and b) for which image it was dropped there. */ | 516 | * dropped there by the portable service logic and b) for which image it was dropped there. */ |
| 517 | diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c | 517 | diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c |
| 518 | index afa537f160..32ccee4ae5 100644 | 518 | index 64b829e5e6..3a06758848 100644 |
| 519 | --- a/src/resolve/resolvectl.c | 519 | --- a/src/resolve/resolvectl.c |
| 520 | +++ b/src/resolve/resolvectl.c | 520 | +++ b/src/resolve/resolvectl.c |
| 521 | @@ -48,6 +48,7 @@ | 521 | @@ -48,6 +48,7 @@ |
| @@ -551,7 +551,7 @@ index 8b462b5627..183ce1c18e 100644 | |||
| 551 | struct CGroupInfo { | 551 | struct CGroupInfo { |
| 552 | char *cgroup_path; | 552 | char *cgroup_path; |
| 553 | diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c | 553 | diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c |
| 554 | index 4ee9706847..30c8084847 100644 | 554 | index 50de98941f..d47beccb0b 100644 |
| 555 | --- a/src/shared/bus-unit-util.c | 555 | --- a/src/shared/bus-unit-util.c |
| 556 | +++ b/src/shared/bus-unit-util.c | 556 | +++ b/src/shared/bus-unit-util.c |
| 557 | @@ -50,6 +50,7 @@ | 557 | @@ -50,6 +50,7 @@ |
| @@ -587,7 +587,7 @@ index b41c9b06ca..e69050a507 100644 | |||
| 587 | int dns_label_unescape(const char **name, char *dest, size_t sz, DNSLabelFlags flags) { | 587 | int dns_label_unescape(const char **name, char *dest, size_t sz, DNSLabelFlags flags) { |
| 588 | const char *n; | 588 | const char *n; |
| 589 | diff --git a/src/shared/journal-importer.c b/src/shared/journal-importer.c | 589 | diff --git a/src/shared/journal-importer.c b/src/shared/journal-importer.c |
| 590 | index 83e9834bbf..74eaae6f5e 100644 | 590 | index bb0536e48a..11cc1315d8 100644 |
| 591 | --- a/src/shared/journal-importer.c | 591 | --- a/src/shared/journal-importer.c |
| 592 | +++ b/src/shared/journal-importer.c | 592 | +++ b/src/shared/journal-importer.c |
| 593 | @@ -16,6 +16,7 @@ | 593 | @@ -16,6 +16,7 @@ |
| @@ -599,7 +599,7 @@ index 83e9834bbf..74eaae6f5e 100644 | |||
| 599 | enum { | 599 | enum { |
| 600 | IMPORTER_STATE_LINE = 0, /* waiting to read, or reading line */ | 600 | IMPORTER_STATE_LINE = 0, /* waiting to read, or reading line */ |
| 601 | diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c | 601 | diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c |
| 602 | index a5d04003bd..10392c132d 100644 | 602 | index 0a31be382f..92d629e7e0 100644 |
| 603 | --- a/src/shared/logs-show.c | 603 | --- a/src/shared/logs-show.c |
| 604 | +++ b/src/shared/logs-show.c | 604 | +++ b/src/shared/logs-show.c |
| 605 | @@ -41,6 +41,7 @@ | 605 | @@ -41,6 +41,7 @@ |
| @@ -683,7 +683,7 @@ index ed22c8b679..19ebe20237 100644 | |||
| 683 | UdevEvent *udev_event_new(sd_device *dev, usec_t exec_delay_usec, sd_netlink *rtnl, int log_level) { | 683 | UdevEvent *udev_event_new(sd_device *dev, usec_t exec_delay_usec, sd_netlink *rtnl, int log_level) { |
| 684 | UdevEvent *event; | 684 | UdevEvent *event; |
| 685 | diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c | 685 | diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c |
| 686 | index 5f12002394..febe345b4c 100644 | 686 | index c242549654..e5b8df5c2d 100644 |
| 687 | --- a/src/udev/udev-rules.c | 687 | --- a/src/udev/udev-rules.c |
| 688 | +++ b/src/udev/udev-rules.c | 688 | +++ b/src/udev/udev-rules.c |
| 689 | @@ -41,6 +41,7 @@ | 689 | @@ -41,6 +41,7 @@ |
| @@ -694,6 +694,3 @@ index 5f12002394..febe345b4c 100644 | |||
| 694 | 694 | ||
| 695 | #define RULES_DIRS ((const char* const*) CONF_PATHS_STRV("udev/rules.d")) | 695 | #define RULES_DIRS ((const char* const*) CONF_PATHS_STRV("udev/rules.d")) |
| 696 | 696 | ||
| 697 | -- | ||
| 698 | 2.34.1 | ||
| 699 | |||
diff --git a/meta/recipes-core/systemd/systemd/0004-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch b/meta/recipes-core/systemd/systemd/0004-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch index 15877bea88..ccfe8e6aa9 100644 --- a/meta/recipes-core/systemd/systemd/0004-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch +++ b/meta/recipes-core/systemd/systemd/0004-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | From 5325ab5813617f35f03806ec420829dde7104387 Mon Sep 17 00:00:00 2001 | 1 | From a15045a60893f29ce9720e62cafbc0b87908ad49 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Mon, 25 Feb 2019 14:56:21 +0800 | 3 | Date: Mon, 25 Feb 2019 14:56:21 +0800 |
| 4 | Subject: [PATCH 04/22] don't fail if GLOB_BRACE and GLOB_ALTDIRFUNC is not | 4 | Subject: [PATCH] don't fail if GLOB_BRACE and GLOB_ALTDIRFUNC is not defined |
| 5 | defined | ||
| 6 | 5 | ||
| 7 | If the standard library doesn't provide brace | 6 | If the standard library doesn't provide brace |
| 8 | expansion users just won't get it. | 7 | expansion users just won't get it. |
| @@ -115,7 +114,7 @@ index 9b3e73cce0..3790ba3be5 100644 | |||
| 115 | 114 | ||
| 116 | (void) rm_rf(template, REMOVE_ROOT|REMOVE_PHYSICAL); | 115 | (void) rm_rf(template, REMOVE_ROOT|REMOVE_PHYSICAL); |
| 117 | diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c | 116 | diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c |
| 118 | index 230ec09b97..2cc5f391d7 100644 | 117 | index f4c8ebc27f..e07ad66c65 100644 |
| 119 | --- a/src/tmpfiles/tmpfiles.c | 118 | --- a/src/tmpfiles/tmpfiles.c |
| 120 | +++ b/src/tmpfiles/tmpfiles.c | 119 | +++ b/src/tmpfiles/tmpfiles.c |
| 121 | @@ -73,6 +73,12 @@ | 120 | @@ -73,6 +73,12 @@ |
| @@ -131,7 +130,7 @@ index 230ec09b97..2cc5f391d7 100644 | |||
| 131 | /* This reads all files listed in /etc/tmpfiles.d/?*.conf and creates | 130 | /* This reads all files listed in /etc/tmpfiles.d/?*.conf and creates |
| 132 | * them in the file system. This is intended to be used to create | 131 | * them in the file system. This is intended to be used to create |
| 133 | * properly owned directories beneath /tmp, /var/tmp, /run, which are | 132 | * properly owned directories beneath /tmp, /var/tmp, /run, which are |
| 134 | @@ -2434,7 +2440,9 @@ finish: | 133 | @@ -2426,7 +2432,9 @@ finish: |
| 135 | 134 | ||
| 136 | static int glob_item(Context *c, Item *i, action_t action) { | 135 | static int glob_item(Context *c, Item *i, action_t action) { |
| 137 | _cleanup_globfree_ glob_t g = { | 136 | _cleanup_globfree_ glob_t g = { |
| @@ -141,7 +140,7 @@ index 230ec09b97..2cc5f391d7 100644 | |||
| 141 | }; | 140 | }; |
| 142 | int r = 0, k; | 141 | int r = 0, k; |
| 143 | 142 | ||
| 144 | @@ -2461,7 +2469,9 @@ static int glob_item_recursively( | 143 | @@ -2453,7 +2461,9 @@ static int glob_item_recursively( |
| 145 | fdaction_t action) { | 144 | fdaction_t action) { |
| 146 | 145 | ||
| 147 | _cleanup_globfree_ glob_t g = { | 146 | _cleanup_globfree_ glob_t g = { |
| @@ -151,6 +150,3 @@ index 230ec09b97..2cc5f391d7 100644 | |||
| 151 | }; | 150 | }; |
| 152 | int r = 0, k; | 151 | int r = 0, k; |
| 153 | 152 | ||
| 154 | -- | ||
| 155 | 2.34.1 | ||
| 156 | |||
diff --git a/meta/recipes-core/systemd/systemd/0005-add-missing-FTW_-macros-for-musl.patch b/meta/recipes-core/systemd/systemd/0005-add-missing-FTW_-macros-for-musl.patch index a1dfca22cd..a29aab8390 100644 --- a/meta/recipes-core/systemd/systemd/0005-add-missing-FTW_-macros-for-musl.patch +++ b/meta/recipes-core/systemd/systemd/0005-add-missing-FTW_-macros-for-musl.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From dad7f897c0de654fa5592fda3e90f874639849f9 Mon Sep 17 00:00:00 2001 | 1 | From b2c98ef636ac7dfdf86e7a42aebc3142a5b167d2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Mon, 25 Feb 2019 15:00:06 +0800 | 3 | Date: Mon, 25 Feb 2019 15:00:06 +0800 |
| 4 | Subject: [PATCH 05/22] add missing FTW_ macros for musl | 4 | Subject: [PATCH] add missing FTW_ macros for musl |
| 5 | 5 | ||
| 6 | This is to avoid build failures like below for musl. | 6 | This is to avoid build failures like below for musl. |
| 7 | 7 | ||
| @@ -39,6 +39,3 @@ index 8684d064ec..70fc2b5376 100644 | |||
| 39 | 39 | ||
| 40 | static char **list_nftw = NULL; | 40 | static char **list_nftw = NULL; |
| 41 | 41 | ||
| 42 | -- | ||
| 43 | 2.34.1 | ||
| 44 | |||
diff --git a/meta/recipes-core/systemd/systemd/0006-Use-uintmax_t-for-handling-rlim_t.patch b/meta/recipes-core/systemd/systemd/0006-Use-uintmax_t-for-handling-rlim_t.patch index 4be14b72ec..818b946886 100644 --- a/meta/recipes-core/systemd/systemd/0006-Use-uintmax_t-for-handling-rlim_t.patch +++ b/meta/recipes-core/systemd/systemd/0006-Use-uintmax_t-for-handling-rlim_t.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 96e975a2412a20e5f80bd3ab144057d275eb8597 Mon Sep 17 00:00:00 2001 | 1 | From 3ea46787827fb6db631b240589d2f447b977f7d9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Mon, 25 Feb 2019 15:12:41 +0800 | 3 | Date: Mon, 25 Feb 2019 15:12:41 +0800 |
| 4 | Subject: [PATCH 06/22] Use uintmax_t for handling rlim_t | 4 | Subject: [PATCH] Use uintmax_t for handling rlim_t |
| 5 | 5 | ||
| 6 | PRIu{32,64} is not right format to represent rlim_t type | 6 | PRIu{32,64} is not right format to represent rlim_t type |
| 7 | therefore use %ju and typecast the rlim_t variables to | 7 | therefore use %ju and typecast the rlim_t variables to |
| @@ -86,10 +86,10 @@ index c1f0b2b974..61c5412582 100644 | |||
| 86 | return 1; | 86 | return 1; |
| 87 | } | 87 | } |
| 88 | diff --git a/src/core/execute.c b/src/core/execute.c | 88 | diff --git a/src/core/execute.c b/src/core/execute.c |
| 89 | index bd3da0c401..df1870fd2f 100644 | 89 | index 7d27f80834..bde0f8137c 100644 |
| 90 | --- a/src/core/execute.c | 90 | --- a/src/core/execute.c |
| 91 | +++ b/src/core/execute.c | 91 | +++ b/src/core/execute.c |
| 92 | @@ -1045,9 +1045,9 @@ void exec_context_dump(const ExecContext *c, FILE* f, const char *prefix) { | 92 | @@ -1042,9 +1042,9 @@ void exec_context_dump(const ExecContext *c, FILE* f, const char *prefix) { |
| 93 | for (unsigned i = 0; i < RLIM_NLIMITS; i++) | 93 | for (unsigned i = 0; i < RLIM_NLIMITS; i++) |
| 94 | if (c->rlimit[i]) { | 94 | if (c->rlimit[i]) { |
| 95 | fprintf(f, "%sLimit%s: " RLIM_FMT "\n", | 95 | fprintf(f, "%sLimit%s: " RLIM_FMT "\n", |
| @@ -101,6 +101,3 @@ index bd3da0c401..df1870fd2f 100644 | |||
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | if (c->ioprio_set) { | 103 | if (c->ioprio_set) { |
| 104 | -- | ||
| 105 | 2.34.1 | ||
| 106 | |||
diff --git a/meta/recipes-core/systemd/systemd/0007-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch b/meta/recipes-core/systemd/systemd/0007-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch index 8d6084239e..ad7cf90f1d 100644 --- a/meta/recipes-core/systemd/systemd/0007-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch +++ b/meta/recipes-core/systemd/systemd/0007-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 4842cff4f1329f0b5034b529d56f8ad1f234ac4c Mon Sep 17 00:00:00 2001 | 1 | From 0e51be93aa8c647bf1761d684c722b92d3cfabc1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Andre McCurdy <armccurdy@gmail.com> | 2 | From: Andre McCurdy <armccurdy@gmail.com> |
| 3 | Date: Tue, 10 Oct 2017 14:33:30 -0700 | 3 | Date: Tue, 10 Oct 2017 14:33:30 -0700 |
| 4 | Subject: [PATCH 07/22] don't pass AT_SYMLINK_NOFOLLOW flag to faccessat() | 4 | Subject: [PATCH] don't pass AT_SYMLINK_NOFOLLOW flag to faccessat() |
| 5 | 5 | ||
| 6 | Avoid using AT_SYMLINK_NOFOLLOW flag. It doesn't seem like the right | 6 | Avoid using AT_SYMLINK_NOFOLLOW flag. It doesn't seem like the right |
| 7 | thing to do and it's not portable (not supported by musl). See: | 7 | thing to do and it's not portable (not supported by musl). See: |
| @@ -31,7 +31,7 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | |||
| 31 | 2 files changed, 23 insertions(+), 4 deletions(-) | 31 | 2 files changed, 23 insertions(+), 4 deletions(-) |
| 32 | 32 | ||
| 33 | diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h | 33 | diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h |
| 34 | index 1023ab73ca..c78ff6f27f 100644 | 34 | index 6a1e2e76d1..c3f7235e09 100644 |
| 35 | --- a/src/basic/fs-util.h | 35 | --- a/src/basic/fs-util.h |
| 36 | +++ b/src/basic/fs-util.h | 36 | +++ b/src/basic/fs-util.h |
| 37 | @@ -49,8 +49,27 @@ int futimens_opath(int fd, const struct timespec ts[2]); | 37 | @@ -49,8 +49,27 @@ int futimens_opath(int fd, const struct timespec ts[2]); |
| @@ -64,10 +64,10 @@ index 1023ab73ca..c78ff6f27f 100644 | |||
| 64 | int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode); | 64 | int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode); |
| 65 | 65 | ||
| 66 | diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c | 66 | diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c |
| 67 | index 569ef466c3..7ae921a113 100644 | 67 | index 0d5075e1e6..dc59a9582c 100644 |
| 68 | --- a/src/shared/base-filesystem.c | 68 | --- a/src/shared/base-filesystem.c |
| 69 | +++ b/src/shared/base-filesystem.c | 69 | +++ b/src/shared/base-filesystem.c |
| 70 | @@ -145,7 +145,7 @@ int base_filesystem_create_fd(int fd, const char *root, uid_t uid, gid_t gid) { | 70 | @@ -137,7 +137,7 @@ int base_filesystem_create_fd(int fd, const char *root, uid_t uid, gid_t gid) { |
| 71 | /* The "root" parameter is decoration only – it's only used as part of log messages */ | 71 | /* The "root" parameter is decoration only – it's only used as part of log messages */ |
| 72 | 72 | ||
| 73 | for (size_t i = 0; i < ELEMENTSOF(table); i++) { | 73 | for (size_t i = 0; i < ELEMENTSOF(table); i++) { |
| @@ -76,7 +76,7 @@ index 569ef466c3..7ae921a113 100644 | |||
| 76 | continue; | 76 | continue; |
| 77 | 77 | ||
| 78 | if (table[i].target) { /* Create as symlink? */ | 78 | if (table[i].target) { /* Create as symlink? */ |
| 79 | @@ -153,7 +153,7 @@ int base_filesystem_create_fd(int fd, const char *root, uid_t uid, gid_t gid) { | 79 | @@ -145,7 +145,7 @@ int base_filesystem_create_fd(int fd, const char *root, uid_t uid, gid_t gid) { |
| 80 | 80 | ||
| 81 | /* check if one of the targets exists */ | 81 | /* check if one of the targets exists */ |
| 82 | NULSTR_FOREACH(s, table[i].target) { | 82 | NULSTR_FOREACH(s, table[i].target) { |
| @@ -85,7 +85,7 @@ index 569ef466c3..7ae921a113 100644 | |||
| 85 | continue; | 85 | continue; |
| 86 | 86 | ||
| 87 | /* check if a specific file exists at the target path */ | 87 | /* check if a specific file exists at the target path */ |
| 88 | @@ -164,7 +164,7 @@ int base_filesystem_create_fd(int fd, const char *root, uid_t uid, gid_t gid) { | 88 | @@ -156,7 +156,7 @@ int base_filesystem_create_fd(int fd, const char *root, uid_t uid, gid_t gid) { |
| 89 | if (!p) | 89 | if (!p) |
| 90 | return log_oom(); | 90 | return log_oom(); |
| 91 | 91 | ||
| @@ -94,6 +94,3 @@ index 569ef466c3..7ae921a113 100644 | |||
| 94 | continue; | 94 | continue; |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | -- | ||
| 98 | 2.34.1 | ||
| 99 | |||
diff --git a/meta/recipes-core/systemd/systemd/0008-Define-glibc-compatible-basename-for-non-glibc-syste.patch b/meta/recipes-core/systemd/systemd/0008-Define-glibc-compatible-basename-for-non-glibc-syste.patch index c1a8bb19fe..4d6382810b 100644 --- a/meta/recipes-core/systemd/systemd/0008-Define-glibc-compatible-basename-for-non-glibc-syste.patch +++ b/meta/recipes-core/systemd/systemd/0008-Define-glibc-compatible-basename-for-non-glibc-syste.patch | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | From bab07e779ff23d5593bb118efaaa31b60a6dce87 Mon Sep 17 00:00:00 2001 | 1 | From 9f85e2db2b40313de555b3103aa485b9b84382fe Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 27 May 2018 08:36:44 -0700 | 3 | Date: Sun, 27 May 2018 08:36:44 -0700 |
| 4 | Subject: [PATCH 08/22] Define glibc compatible basename() for non-glibc | 4 | Subject: [PATCH] Define glibc compatible basename() for non-glibc systems |
| 5 | systems | ||
| 6 | 5 | ||
| 7 | Fixes builds with musl, even though systemd is adamant about | 6 | Fixes builds with musl, even though systemd is adamant about |
| 8 | using non-posix basename implementation, we have a way out | 7 | using non-posix basename implementation, we have a way out |
| @@ -29,6 +28,3 @@ index b6d8be3083..0a29036c4c 100644 | |||
| 29 | static inline char* strstr_ptr(const char *haystack, const char *needle) { | 28 | static inline char* strstr_ptr(const char *haystack, const char *needle) { |
| 30 | if (!haystack || !needle) | 29 | if (!haystack || !needle) |
| 31 | return NULL; | 30 | return NULL; |
| 32 | -- | ||
| 33 | 2.34.1 | ||
| 34 | |||
diff --git a/meta/recipes-core/systemd/systemd/0008-implment-systemd-sysv-install-for-OE.patch b/meta/recipes-core/systemd/systemd/0008-implment-systemd-sysv-install-for-OE.patch index acff18dc43..0909185dcf 100644 --- a/meta/recipes-core/systemd/systemd/0008-implment-systemd-sysv-install-for-OE.patch +++ b/meta/recipes-core/systemd/systemd/0008-implment-systemd-sysv-install-for-OE.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 5712d56f1cd654d2e5d2e9117ff77fe4c299f76b Mon Sep 17 00:00:00 2001 | 1 | From c223945b20aadd1e3b1f3986e159cb3755aabf99 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 5 Sep 2015 06:31:47 +0000 | 3 | Date: Sat, 5 Sep 2015 06:31:47 +0000 |
| 4 | Subject: [PATCH] implment systemd-sysv-install for OE | 4 | Subject: [PATCH] implment systemd-sysv-install for OE |
| @@ -38,6 +38,3 @@ index cb58d8243b..000bdf6165 100755 | |||
| 38 | ;; | 38 | ;; |
| 39 | *) | 39 | *) |
| 40 | usage ;; | 40 | usage ;; |
| 41 | -- | ||
| 42 | 2.39.2 | ||
| 43 | |||
diff --git a/meta/recipes-core/systemd/systemd/0009-Do-not-disable-buffering-when-writing-to-oom_score_a.patch b/meta/recipes-core/systemd/systemd/0009-Do-not-disable-buffering-when-writing-to-oom_score_a.patch index 3ff0177ae3..55a033ecec 100644 --- a/meta/recipes-core/systemd/systemd/0009-Do-not-disable-buffering-when-writing-to-oom_score_a.patch +++ b/meta/recipes-core/systemd/systemd/0009-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 25093c5017725b8577c444dfea0f42ad85b43522 Mon Sep 17 00:00:00 2001 | 1 | From 64b98f7ba1f5211bd19cd98c9d7e4d0f884cf65d Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Wed, 4 Jul 2018 15:00:44 +0800 | 3 | Date: Wed, 4 Jul 2018 15:00:44 +0800 |
| 4 | Subject: [PATCH 09/22] Do not disable buffering when writing to oom_score_adj | 4 | Subject: [PATCH] Do not disable buffering when writing to oom_score_adj |
| 5 | 5 | ||
| 6 | On musl, disabling buffering when writing to oom_score_adj will | 6 | On musl, disabling buffering when writing to oom_score_adj will |
| 7 | cause the following error. | 7 | cause the following error. |
| @@ -24,7 +24,7 @@ Signed-off-by: Scott Murray <scott.murray@konsulko.com> | |||
| 24 | 1 file changed, 1 insertion(+), 1 deletion(-) | 24 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 25 | 25 | ||
| 26 | 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 |
| 27 | index 201c5596ae..ea51595b6c 100644 | 27 | index 4492e7ded2..b61a2aba74 100644 |
| 28 | --- a/src/basic/process-util.c | 28 | --- a/src/basic/process-util.c |
| 29 | +++ b/src/basic/process-util.c | 29 | +++ b/src/basic/process-util.c |
| 30 | @@ -1716,7 +1716,7 @@ int set_oom_score_adjust(int value) { | 30 | @@ -1716,7 +1716,7 @@ int set_oom_score_adjust(int value) { |
| @@ -36,6 +36,3 @@ index 201c5596ae..ea51595b6c 100644 | |||
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | int get_oom_score_adjust(int *ret) { | 38 | int get_oom_score_adjust(int *ret) { |
| 39 | -- | ||
| 40 | 2.34.1 | ||
| 41 | |||
diff --git a/meta/recipes-core/systemd/systemd/0010-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch b/meta/recipes-core/systemd/systemd/0010-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch index cf59ac7d06..f3f3698e5a 100644 --- a/meta/recipes-core/systemd/systemd/0010-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch +++ b/meta/recipes-core/systemd/systemd/0010-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 2adbe9773cd65c48eec9df96868d4a738927c8d9 Mon Sep 17 00:00:00 2001 | 1 | From bc75e47baaddbd629d9757a2539102649d9501fd Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Tue, 10 Jul 2018 15:40:17 +0800 | 3 | Date: Tue, 10 Jul 2018 15:40:17 +0800 |
| 4 | Subject: [PATCH 10/22] distinguish XSI-compliant strerror_r from GNU-specifi | 4 | Subject: [PATCH] distinguish XSI-compliant strerror_r from GNU-specifi |
| 5 | strerror_r | 5 | strerror_r |
| 6 | 6 | ||
| 7 | XSI-compliant strerror_r and GNU-specifi strerror_r are different. | 7 | XSI-compliant strerror_r and GNU-specifi strerror_r are different. |
| @@ -24,10 +24,10 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
| 24 | 2 files changed, 15 insertions(+), 1 deletion(-) | 24 | 2 files changed, 15 insertions(+), 1 deletion(-) |
| 25 | 25 | ||
| 26 | diff --git a/src/libsystemd/sd-bus/bus-error.c b/src/libsystemd/sd-bus/bus-error.c | 26 | diff --git a/src/libsystemd/sd-bus/bus-error.c b/src/libsystemd/sd-bus/bus-error.c |
| 27 | index 77b2e1a0fd..fdba0e0142 100644 | 27 | index f415797700..a5c6e9a3bd 100644 |
| 28 | --- a/src/libsystemd/sd-bus/bus-error.c | 28 | --- a/src/libsystemd/sd-bus/bus-error.c |
| 29 | +++ b/src/libsystemd/sd-bus/bus-error.c | 29 | +++ b/src/libsystemd/sd-bus/bus-error.c |
| 30 | @@ -408,7 +408,12 @@ static void bus_error_strerror(sd_bus_error *e, int error) { | 30 | @@ -410,7 +410,12 @@ static void bus_error_strerror(sd_bus_error *e, int error) { |
| 31 | return; | 31 | return; |
| 32 | 32 | ||
| 33 | errno = 0; | 33 | errno = 0; |
| @@ -40,7 +40,7 @@ index 77b2e1a0fd..fdba0e0142 100644 | |||
| 40 | if (errno == ERANGE || strlen(x) >= k - 1) { | 40 | if (errno == ERANGE || strlen(x) >= k - 1) { |
| 41 | free(m); | 41 | free(m); |
| 42 | k *= 2; | 42 | k *= 2; |
| 43 | @@ -593,8 +598,12 @@ const char* _bus_error_message(const sd_bus_error *e, int error, char buf[static | 43 | @@ -595,8 +600,12 @@ const char* _bus_error_message(const sd_bus_error *e, int error, char buf[static |
| 44 | 44 | ||
| 45 | if (e && e->message) | 45 | if (e && e->message) |
| 46 | return e->message; | 46 | return e->message; |
| @@ -71,6 +71,3 @@ index 69a2eb6404..1561859650 100644 | |||
| 71 | if (errno == 0) { | 71 | if (errno == 0) { |
| 72 | char error[STRLEN("ERRNO=") + DECIMAL_STR_MAX(int) + 1]; | 72 | char error[STRLEN("ERRNO=") + DECIMAL_STR_MAX(int) + 1]; |
| 73 | 73 | ||
| 74 | -- | ||
| 75 | 2.34.1 | ||
| 76 | |||
diff --git a/meta/recipes-core/systemd/systemd/0011-avoid-redefinition-of-prctl_mm_map-structure.patch b/meta/recipes-core/systemd/systemd/0011-avoid-redefinition-of-prctl_mm_map-structure.patch index e481b2e2e4..a73c67efb1 100644 --- a/meta/recipes-core/systemd/systemd/0011-avoid-redefinition-of-prctl_mm_map-structure.patch +++ b/meta/recipes-core/systemd/systemd/0011-avoid-redefinition-of-prctl_mm_map-structure.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 49c446cfb78cf74a909bed8c3798b77a5469866a Mon Sep 17 00:00:00 2001 | 1 | From e8a03df3275aef82a1bfd5c1ce60058c5e39eb09 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Mon, 25 Feb 2019 15:44:54 +0800 | 3 | Date: Mon, 25 Feb 2019 15:44:54 +0800 |
| 4 | Subject: [PATCH 11/22] avoid redefinition of prctl_mm_map structure | 4 | Subject: [PATCH] avoid redefinition of prctl_mm_map structure |
| 5 | 5 | ||
| 6 | Fix the following compile failure: | 6 | Fix the following compile failure: |
| 7 | error: redefinition of 'struct prctl_mm_map' | 7 | error: redefinition of 'struct prctl_mm_map' |
| @@ -27,6 +27,3 @@ index 7d9e395c92..88c2d7dfac 100644 | |||
| 27 | 27 | ||
| 28 | /* 58319057b7847667f0c9585b9de0e8932b0fdb08 (4.3) */ | 28 | /* 58319057b7847667f0c9585b9de0e8932b0fdb08 (4.3) */ |
| 29 | #ifndef PR_CAP_AMBIENT | 29 | #ifndef PR_CAP_AMBIENT |
| 30 | -- | ||
| 31 | 2.34.1 | ||
| 32 | |||
diff --git a/meta/recipes-core/systemd/systemd/0012-do-not-disable-buffer-in-writing-files.patch b/meta/recipes-core/systemd/systemd/0012-do-not-disable-buffer-in-writing-files.patch index 66be79077e..c2defc7e1e 100644 --- a/meta/recipes-core/systemd/systemd/0012-do-not-disable-buffer-in-writing-files.patch +++ b/meta/recipes-core/systemd/systemd/0012-do-not-disable-buffer-in-writing-files.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From e4885a8e60f883d9217e26e1db3754c2906aca31 Mon Sep 17 00:00:00 2001 | 1 | From f3630404d25dd91e87e7aac09d5dee9b92655082 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Fri, 1 Mar 2019 15:22:15 +0800 | 3 | Date: Fri, 1 Mar 2019 15:22:15 +0800 |
| 4 | Subject: [PATCH 12/22] do not disable buffer in writing files | 4 | Subject: [PATCH] do not disable buffer in writing files |
| 5 | 5 | ||
| 6 | Do not disable buffer in writing files, otherwise we get | 6 | Do not disable buffer in writing files, otherwise we get |
| 7 | failure at boot for musl like below. | 7 | failure at boot for musl like below. |
| @@ -47,10 +47,10 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
| 47 | 22 files changed, 50 insertions(+), 51 deletions(-) | 47 | 22 files changed, 50 insertions(+), 51 deletions(-) |
| 48 | 48 | ||
| 49 | diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c | 49 | diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c |
| 50 | index d2be79622f..e65fecb68d 100644 | 50 | index 2eaa6e3307..5c2876b5c9 100644 |
| 51 | --- a/src/basic/cgroup-util.c | 51 | --- a/src/basic/cgroup-util.c |
| 52 | +++ b/src/basic/cgroup-util.c | 52 | +++ b/src/basic/cgroup-util.c |
| 53 | @@ -417,7 +417,7 @@ int cg_kill_kernel_sigkill(const char *path) { | 53 | @@ -443,7 +443,7 @@ int cg_kill_kernel_sigkill(const char *path) { |
| 54 | if (r < 0) | 54 | if (r < 0) |
| 55 | return r; | 55 | return r; |
| 56 | 56 | ||
| @@ -59,7 +59,7 @@ index d2be79622f..e65fecb68d 100644 | |||
| 59 | if (r < 0) | 59 | if (r < 0) |
| 60 | return r; | 60 | return r; |
| 61 | 61 | ||
| 62 | @@ -843,7 +843,7 @@ int cg_install_release_agent(const char *controller, const char *agent) { | 62 | @@ -869,7 +869,7 @@ int cg_install_release_agent(const char *controller, const char *agent) { |
| 63 | 63 | ||
| 64 | sc = strstrip(contents); | 64 | sc = strstrip(contents); |
| 65 | if (isempty(sc)) { | 65 | if (isempty(sc)) { |
| @@ -68,7 +68,7 @@ index d2be79622f..e65fecb68d 100644 | |||
| 68 | if (r < 0) | 68 | if (r < 0) |
| 69 | return r; | 69 | return r; |
| 70 | } else if (!path_equal(sc, agent)) | 70 | } else if (!path_equal(sc, agent)) |
| 71 | @@ -861,7 +861,7 @@ int cg_install_release_agent(const char *controller, const char *agent) { | 71 | @@ -887,7 +887,7 @@ int cg_install_release_agent(const char *controller, const char *agent) { |
| 72 | 72 | ||
| 73 | sc = strstrip(contents); | 73 | sc = strstrip(contents); |
| 74 | if (streq(sc, "0")) { | 74 | if (streq(sc, "0")) { |
| @@ -77,7 +77,7 @@ index d2be79622f..e65fecb68d 100644 | |||
| 77 | if (r < 0) | 77 | if (r < 0) |
| 78 | return r; | 78 | return r; |
| 79 | 79 | ||
| 80 | @@ -888,7 +888,7 @@ int cg_uninstall_release_agent(const char *controller) { | 80 | @@ -914,7 +914,7 @@ int cg_uninstall_release_agent(const char *controller) { |
| 81 | if (r < 0) | 81 | if (r < 0) |
| 82 | return r; | 82 | return r; |
| 83 | 83 | ||
| @@ -86,7 +86,7 @@ index d2be79622f..e65fecb68d 100644 | |||
| 86 | if (r < 0) | 86 | if (r < 0) |
| 87 | return r; | 87 | return r; |
| 88 | 88 | ||
| 89 | @@ -898,7 +898,7 @@ int cg_uninstall_release_agent(const char *controller) { | 89 | @@ -924,7 +924,7 @@ int cg_uninstall_release_agent(const char *controller) { |
| 90 | if (r < 0) | 90 | if (r < 0) |
| 91 | return r; | 91 | return r; |
| 92 | 92 | ||
| @@ -95,7 +95,7 @@ index d2be79622f..e65fecb68d 100644 | |||
| 95 | if (r < 0) | 95 | if (r < 0) |
| 96 | return r; | 96 | return r; |
| 97 | 97 | ||
| 98 | @@ -1814,7 +1814,7 @@ int cg_set_attribute(const char *controller, const char *path, const char *attri | 98 | @@ -1840,7 +1840,7 @@ int cg_set_attribute(const char *controller, const char *path, const char *attri |
| 99 | if (r < 0) | 99 | if (r < 0) |
| 100 | return r; | 100 | return r; |
| 101 | 101 | ||
| @@ -188,10 +188,10 @@ index d21f3f79ff..258607cc7e 100644 | |||
| 188 | log_warning_errno(r, "Failed to flush binfmt_misc rules, ignoring: %m"); | 188 | log_warning_errno(r, "Failed to flush binfmt_misc rules, ignoring: %m"); |
| 189 | else | 189 | else |
| 190 | diff --git a/src/core/cgroup.c b/src/core/cgroup.c | 190 | diff --git a/src/core/cgroup.c b/src/core/cgroup.c |
| 191 | index 61ac4df1a6..ea18970196 100644 | 191 | index 61539afdbf..77e2b35daf 100644 |
| 192 | --- a/src/core/cgroup.c | 192 | --- a/src/core/cgroup.c |
| 193 | +++ b/src/core/cgroup.c | 193 | +++ b/src/core/cgroup.c |
| 194 | @@ -4578,7 +4578,7 @@ int unit_cgroup_freezer_action(Unit *u, FreezerAction action) { | 194 | @@ -4581,7 +4581,7 @@ int unit_cgroup_freezer_action(Unit *u, FreezerAction action) { |
| 195 | u->freezer_state = FREEZER_THAWING; | 195 | u->freezer_state = FREEZER_THAWING; |
| 196 | } | 196 | } |
| 197 | 197 | ||
| @@ -201,7 +201,7 @@ index 61ac4df1a6..ea18970196 100644 | |||
| 201 | return r; | 201 | return r; |
| 202 | 202 | ||
| 203 | diff --git a/src/core/main.c b/src/core/main.c | 203 | diff --git a/src/core/main.c b/src/core/main.c |
| 204 | index 3f71cc0947..0e5aec3e9e 100644 | 204 | index 1c0030a75f..7108a87d46 100644 |
| 205 | --- a/src/core/main.c | 205 | --- a/src/core/main.c |
| 206 | +++ b/src/core/main.c | 206 | +++ b/src/core/main.c |
| 207 | @@ -1678,7 +1678,7 @@ static void initialize_core_pattern(bool skip_setup) { | 207 | @@ -1678,7 +1678,7 @@ static void initialize_core_pattern(bool skip_setup) { |
| @@ -240,7 +240,7 @@ index 7ea902b6f9..1aef2988d0 100644 | |||
| 240 | log_warning_errno(r, "Failed to set SMACK netlabel rule \"127.0.0.1 -CIPSO\": %m"); | 240 | log_warning_errno(r, "Failed to set SMACK netlabel rule \"127.0.0.1 -CIPSO\": %m"); |
| 241 | #endif | 241 | #endif |
| 242 | diff --git a/src/home/homework.c b/src/home/homework.c | 242 | diff --git a/src/home/homework.c b/src/home/homework.c |
| 243 | index 066483e342..5f92dd7064 100644 | 243 | index 500c310cfc..f9845ff9e7 100644 |
| 244 | --- a/src/home/homework.c | 244 | --- a/src/home/homework.c |
| 245 | +++ b/src/home/homework.c | 245 | +++ b/src/home/homework.c |
| 246 | @@ -278,7 +278,7 @@ static void drop_caches_now(void) { | 246 | @@ -278,7 +278,7 @@ static void drop_caches_now(void) { |
| @@ -253,7 +253,7 @@ index 066483e342..5f92dd7064 100644 | |||
| 253 | log_warning_errno(r, "Failed to drop caches, ignoring: %m"); | 253 | log_warning_errno(r, "Failed to drop caches, ignoring: %m"); |
| 254 | else | 254 | else |
| 255 | diff --git a/src/libsystemd/sd-device/sd-device.c b/src/libsystemd/sd-device/sd-device.c | 255 | diff --git a/src/libsystemd/sd-device/sd-device.c b/src/libsystemd/sd-device/sd-device.c |
| 256 | index 2fbc619a34..09d9591e37 100644 | 256 | index 01e66b4658..f3ea82ca1b 100644 |
| 257 | --- a/src/libsystemd/sd-device/sd-device.c | 257 | --- a/src/libsystemd/sd-device/sd-device.c |
| 258 | +++ b/src/libsystemd/sd-device/sd-device.c | 258 | +++ b/src/libsystemd/sd-device/sd-device.c |
| 259 | @@ -2516,7 +2516,7 @@ _public_ int sd_device_set_sysattr_value(sd_device *device, const char *sysattr, | 259 | @@ -2516,7 +2516,7 @@ _public_ int sd_device_set_sysattr_value(sd_device *device, const char *sysattr, |
| @@ -279,10 +279,10 @@ index a5002437c6..b12e6cd9c9 100644 | |||
| 279 | log_error_errno(r, "Failed to move process: %m"); | 279 | log_error_errno(r, "Failed to move process: %m"); |
| 280 | goto finish; | 280 | goto finish; |
| 281 | diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c | 281 | diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c |
| 282 | index 6ab604d3dc..bbec6b686c 100644 | 282 | index a229c70875..4ceb73e915 100644 |
| 283 | --- a/src/nspawn/nspawn.c | 283 | --- a/src/nspawn/nspawn.c |
| 284 | +++ b/src/nspawn/nspawn.c | 284 | +++ b/src/nspawn/nspawn.c |
| 285 | @@ -2688,7 +2688,7 @@ static int reset_audit_loginuid(void) { | 285 | @@ -2690,7 +2690,7 @@ static int reset_audit_loginuid(void) { |
| 286 | if (streq(p, "4294967295")) | 286 | if (streq(p, "4294967295")) |
| 287 | return 0; | 287 | return 0; |
| 288 | 288 | ||
| @@ -291,7 +291,7 @@ index 6ab604d3dc..bbec6b686c 100644 | |||
| 291 | if (r < 0) { | 291 | if (r < 0) { |
| 292 | log_error_errno(r, | 292 | log_error_errno(r, |
| 293 | "Failed to reset audit login UID. This probably means that your kernel is too\n" | 293 | "Failed to reset audit login UID. This probably means that your kernel is too\n" |
| 294 | @@ -4141,7 +4141,7 @@ static int setup_uid_map( | 294 | @@ -4143,7 +4143,7 @@ static int setup_uid_map( |
| 295 | return log_oom(); | 295 | return log_oom(); |
| 296 | 296 | ||
| 297 | xsprintf(uid_map, "/proc/" PID_FMT "/uid_map", pid); | 297 | xsprintf(uid_map, "/proc/" PID_FMT "/uid_map", pid); |
| @@ -300,7 +300,7 @@ index 6ab604d3dc..bbec6b686c 100644 | |||
| 300 | if (r < 0) | 300 | if (r < 0) |
| 301 | return log_error_errno(r, "Failed to write UID map: %m"); | 301 | return log_error_errno(r, "Failed to write UID map: %m"); |
| 302 | 302 | ||
| 303 | @@ -4151,7 +4151,7 @@ static int setup_uid_map( | 303 | @@ -4153,7 +4153,7 @@ static int setup_uid_map( |
| 304 | return log_oom(); | 304 | return log_oom(); |
| 305 | 305 | ||
| 306 | xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid); | 306 | xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid); |
| @@ -323,7 +323,7 @@ index a26175474b..1413a9c72c 100644 | |||
| 323 | return log_warning_errno(r, "Failed to unregister binfmt_misc entries: %m"); | 323 | return log_warning_errno(r, "Failed to unregister binfmt_misc entries: %m"); |
| 324 | 324 | ||
| 325 | diff --git a/src/shared/cgroup-setup.c b/src/shared/cgroup-setup.c | 325 | diff --git a/src/shared/cgroup-setup.c b/src/shared/cgroup-setup.c |
| 326 | index 934a16eaf3..c921ced861 100644 | 326 | index 1b8a86dc54..5ca14433c8 100644 |
| 327 | --- a/src/shared/cgroup-setup.c | 327 | --- a/src/shared/cgroup-setup.c |
| 328 | +++ b/src/shared/cgroup-setup.c | 328 | +++ b/src/shared/cgroup-setup.c |
| 329 | @@ -351,7 +351,7 @@ int cg_attach(const char *controller, const char *path, pid_t pid) { | 329 | @@ -351,7 +351,7 @@ int cg_attach(const char *controller, const char *path, pid_t pid) { |
| @@ -335,7 +335,7 @@ index 934a16eaf3..c921ced861 100644 | |||
| 335 | if (r == -EOPNOTSUPP && cg_is_threaded(path) > 0) | 335 | if (r == -EOPNOTSUPP && cg_is_threaded(path) > 0) |
| 336 | /* When the threaded mode is used, we cannot read/write the file. Let's return recognizable error. */ | 336 | /* When the threaded mode is used, we cannot read/write the file. Let's return recognizable error. */ |
| 337 | return -EUCLEAN; | 337 | return -EUCLEAN; |
| 338 | @@ -966,7 +966,7 @@ int cg_enable_everywhere( | 338 | @@ -969,7 +969,7 @@ int cg_enable_everywhere( |
| 339 | return log_debug_errno(errno, "Failed to open cgroup.subtree_control file of %s: %m", p); | 339 | return log_debug_errno(errno, "Failed to open cgroup.subtree_control file of %s: %m", p); |
| 340 | } | 340 | } |
| 341 | 341 | ||
| @@ -367,10 +367,10 @@ index 805503f366..01a7ccb291 100644 | |||
| 367 | log_debug_errno(r, "Failed to turn off coredumps, ignoring: %m"); | 367 | log_debug_errno(r, "Failed to turn off coredumps, ignoring: %m"); |
| 368 | } | 368 | } |
| 369 | diff --git a/src/shared/hibernate-util.c b/src/shared/hibernate-util.c | 369 | diff --git a/src/shared/hibernate-util.c b/src/shared/hibernate-util.c |
| 370 | index 3eb13d48f6..d09b901be1 100644 | 370 | index ea1b024ab6..bb82f37580 100644 |
| 371 | --- a/src/shared/hibernate-util.c | 371 | --- a/src/shared/hibernate-util.c |
| 372 | +++ b/src/shared/hibernate-util.c | 372 | +++ b/src/shared/hibernate-util.c |
| 373 | @@ -481,7 +481,7 @@ int write_resume_config(dev_t devno, uint64_t offset, const char *device) { | 373 | @@ -501,7 +501,7 @@ int write_resume_config(dev_t devno, uint64_t offset, const char *device) { |
| 374 | 374 | ||
| 375 | /* We write the offset first since it's safer. Note that this file is only available in 4.17+, so | 375 | /* We write the offset first since it's safer. Note that this file is only available in 4.17+, so |
| 376 | * fail gracefully if it doesn't exist and we're only overwriting it with 0. */ | 376 | * fail gracefully if it doesn't exist and we're only overwriting it with 0. */ |
| @@ -379,7 +379,7 @@ index 3eb13d48f6..d09b901be1 100644 | |||
| 379 | if (r == -ENOENT) { | 379 | if (r == -ENOENT) { |
| 380 | if (offset != 0) | 380 | if (offset != 0) |
| 381 | return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), | 381 | return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), |
| 382 | @@ -497,7 +497,7 @@ int write_resume_config(dev_t devno, uint64_t offset, const char *device) { | 382 | @@ -517,7 +517,7 @@ int write_resume_config(dev_t devno, uint64_t offset, const char *device) { |
| 383 | log_debug("Wrote resume_offset=%s for device '%s' to /sys/power/resume_offset.", | 383 | log_debug("Wrote resume_offset=%s for device '%s' to /sys/power/resume_offset.", |
| 384 | offset_str, device); | 384 | offset_str, device); |
| 385 | 385 | ||
| @@ -402,7 +402,7 @@ index 1f88e724d0..feb18b320a 100644 | |||
| 402 | return r; | 402 | return r; |
| 403 | 403 | ||
| 404 | diff --git a/src/shared/watchdog.c b/src/shared/watchdog.c | 404 | diff --git a/src/shared/watchdog.c b/src/shared/watchdog.c |
| 405 | index 4c1a968718..6faf6806a5 100644 | 405 | index 99ccefb227..e4975018ab 100644 |
| 406 | --- a/src/shared/watchdog.c | 406 | --- a/src/shared/watchdog.c |
| 407 | +++ b/src/shared/watchdog.c | 407 | +++ b/src/shared/watchdog.c |
| 408 | @@ -93,7 +93,7 @@ static int set_pretimeout_governor(const char *governor) { | 408 | @@ -93,7 +93,7 @@ static int set_pretimeout_governor(const char *governor) { |
| @@ -412,10 +412,10 @@ index 4c1a968718..6faf6806a5 100644 | |||
| 412 | - WRITE_STRING_FILE_DISABLE_BUFFER | WRITE_STRING_FILE_VERIFY_ON_FAILURE | WRITE_STRING_FILE_VERIFY_IGNORE_NEWLINE); | 412 | - WRITE_STRING_FILE_DISABLE_BUFFER | WRITE_STRING_FILE_VERIFY_ON_FAILURE | WRITE_STRING_FILE_VERIFY_IGNORE_NEWLINE); |
| 413 | + WRITE_STRING_FILE_VERIFY_ON_FAILURE | WRITE_STRING_FILE_VERIFY_IGNORE_NEWLINE); | 413 | + WRITE_STRING_FILE_VERIFY_ON_FAILURE | WRITE_STRING_FILE_VERIFY_IGNORE_NEWLINE); |
| 414 | if (r < 0) | 414 | if (r < 0) |
| 415 | return log_error_errno(r, "Failed to set pretimeout_governor to '%s': %m", governor); | 415 | return log_error_errno(r, "Failed to set watchdog pretimeout_governor to '%s': %m", governor); |
| 416 | 416 | ||
| 417 | diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c | 417 | diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c |
| 418 | index 21af3e9e52..6d4b84b5d5 100644 | 418 | index 21062b24e0..262dd71d72 100644 |
| 419 | --- a/src/sleep/sleep.c | 419 | --- a/src/sleep/sleep.c |
| 420 | +++ b/src/sleep/sleep.c | 420 | +++ b/src/sleep/sleep.c |
| 421 | @@ -137,7 +137,7 @@ static int write_state(int fd, char * const *states) { | 421 | @@ -137,7 +137,7 @@ static int write_state(int fd, char * const *states) { |
| @@ -437,7 +437,7 @@ index 21af3e9e52..6d4b84b5d5 100644 | |||
| 437 | log_debug("Using sleep disk mode '%s'.", *mode); | 437 | log_debug("Using sleep disk mode '%s'.", *mode); |
| 438 | return 0; | 438 | return 0; |
| 439 | diff --git a/src/storagetm/storagetm.c b/src/storagetm/storagetm.c | 439 | diff --git a/src/storagetm/storagetm.c b/src/storagetm/storagetm.c |
| 440 | index ae63baaf79..82eeca479a 100644 | 440 | index 16d4fb07d4..aca7506463 100644 |
| 441 | --- a/src/storagetm/storagetm.c | 441 | --- a/src/storagetm/storagetm.c |
| 442 | +++ b/src/storagetm/storagetm.c | 442 | +++ b/src/storagetm/storagetm.c |
| 443 | @@ -186,7 +186,7 @@ static int nvme_subsystem_unlink(NvmeSubsystem *s) { | 443 | @@ -186,7 +186,7 @@ static int nvme_subsystem_unlink(NvmeSubsystem *s) { |
| @@ -533,7 +533,7 @@ index ae63baaf79..82eeca479a 100644 | |||
| 533 | return log_error_errno(r, "Failed to set IP address on NVME port %" PRIu16 ": %m", portnr); | 533 | return log_error_errno(r, "Failed to set IP address on NVME port %" PRIu16 ": %m", portnr); |
| 534 | 534 | ||
| 535 | diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c | 535 | diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c |
| 536 | index febe345b4c..a90b610ba1 100644 | 536 | index e5b8df5c2d..63ca15628c 100644 |
| 537 | --- a/src/udev/udev-rules.c | 537 | --- a/src/udev/udev-rules.c |
| 538 | +++ b/src/udev/udev-rules.c | 538 | +++ b/src/udev/udev-rules.c |
| 539 | @@ -2711,7 +2711,6 @@ static int udev_rule_apply_token_to_event( | 539 | @@ -2711,7 +2711,6 @@ static int udev_rule_apply_token_to_event( |
| @@ -557,6 +557,3 @@ index 4d82c65f0a..3a3d861b83 100644 | |||
| 557 | if (r < 0) | 557 | if (r < 0) |
| 558 | return log_warning_errno(r, "Failed to %s sysfs UTF-8 flag: %m", enable_disable(utf8)); | 558 | return log_warning_errno(r, "Failed to %s sysfs UTF-8 flag: %m", enable_disable(utf8)); |
| 559 | 559 | ||
| 560 | -- | ||
| 561 | 2.34.1 | ||
| 562 | |||
diff --git a/meta/recipes-core/systemd/systemd/0013-Handle-__cpu_mask-usage.patch b/meta/recipes-core/systemd/systemd/0013-Handle-__cpu_mask-usage.patch index 43f75373a6..4982d6c7af 100644 --- a/meta/recipes-core/systemd/systemd/0013-Handle-__cpu_mask-usage.patch +++ b/meta/recipes-core/systemd/systemd/0013-Handle-__cpu_mask-usage.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 2f90f8463423cfbb7e83fcef42f1071018c3b56e Mon Sep 17 00:00:00 2001 | 1 | From db390dc6bfa0a7b27010e0dcd25f45f17a6e3954 Mon Sep 17 00:00:00 2001 |
| 2 | From: Scott Murray <scott.murray@konsulko.com> | 2 | From: Scott Murray <scott.murray@konsulko.com> |
| 3 | Date: Fri, 13 Sep 2019 19:26:27 -0400 | 3 | Date: Fri, 13 Sep 2019 19:26:27 -0400 |
| 4 | Subject: [PATCH 13/22] Handle __cpu_mask usage | 4 | Subject: [PATCH] Handle __cpu_mask usage |
| 5 | 5 | ||
| 6 | Fixes errors: | 6 | Fixes errors: |
| 7 | 7 | ||
| @@ -55,6 +55,3 @@ index ea0c58770e..b65c0bd370 100644 | |||
| 55 | 55 | ||
| 56 | /* Print information about various types. Useful when diagnosing | 56 | /* Print information about various types. Useful when diagnosing |
| 57 | * gcc diagnostics on an unfamiliar architecture. */ | 57 | * gcc diagnostics on an unfamiliar architecture. */ |
| 58 | -- | ||
| 59 | 2.34.1 | ||
| 60 | |||
diff --git a/meta/recipes-core/systemd/systemd/0014-Handle-missing-gshadow.patch b/meta/recipes-core/systemd/systemd/0014-Handle-missing-gshadow.patch index a751e1ba6f..ac74d1fab7 100644 --- a/meta/recipes-core/systemd/systemd/0014-Handle-missing-gshadow.patch +++ b/meta/recipes-core/systemd/systemd/0014-Handle-missing-gshadow.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From b7c827bb44edbb6251c9fcdb80aa03982c0e7bf3 Mon Sep 17 00:00:00 2001 | 1 | From 0019ddcc5c415df52504dd2b779b5acb19e4084d Mon Sep 17 00:00:00 2001 |
| 2 | From: Alex Kiernan <alex.kiernan@gmail.com> | 2 | From: Alex Kiernan <alex.kiernan@gmail.com> |
| 3 | Date: Tue, 10 Mar 2020 11:05:20 +0000 | 3 | Date: Tue, 10 Mar 2020 11:05:20 +0000 |
| 4 | Subject: [PATCH 14/22] Handle missing gshadow | 4 | Subject: [PATCH] Handle missing gshadow |
| 5 | 5 | ||
| 6 | gshadow usage is now present in the userdb code. Mask all uses of it to | 6 | gshadow usage is now present in the userdb code. Mask all uses of it to |
| 7 | allow compilation on musl | 7 | allow compilation on musl |
| @@ -138,7 +138,7 @@ index 22ab04d6ee..4e52e7a911 100644 | |||
| 138 | #include <shadow.h> | 138 | #include <shadow.h> |
| 139 | 139 | ||
| 140 | diff --git a/src/shared/userdb.c b/src/shared/userdb.c | 140 | diff --git a/src/shared/userdb.c b/src/shared/userdb.c |
| 141 | index f60d48ace4..e878199a28 100644 | 141 | index 98066bb81d..47dc4dd420 100644 |
| 142 | --- a/src/shared/userdb.c | 142 | --- a/src/shared/userdb.c |
| 143 | +++ b/src/shared/userdb.c | 143 | +++ b/src/shared/userdb.c |
| 144 | @@ -1038,13 +1038,15 @@ int groupdb_iterator_get(UserDBIterator *iterator, GroupRecord **ret) { | 144 | @@ -1038,13 +1038,15 @@ int groupdb_iterator_get(UserDBIterator *iterator, GroupRecord **ret) { |
| @@ -168,6 +168,3 @@ index f60d48ace4..e878199a28 100644 | |||
| 168 | if (r < 0) | 168 | if (r < 0) |
| 169 | return r; | 169 | return r; |
| 170 | 170 | ||
| 171 | -- | ||
| 172 | 2.34.1 | ||
| 173 | |||
diff --git a/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch b/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch index e112766a9b..551d9f8037 100644 --- a/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch +++ b/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 3dc9d9d410bcce54fddfd94f43f7f77f3aa8e281 Mon Sep 17 00:00:00 2001 | 1 | From eb4095a963a51a1b3de693f8cf0ac27304f30d24 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 12 Apr 2021 23:44:53 -0700 | 3 | Date: Mon, 12 Apr 2021 23:44:53 -0700 |
| 4 | Subject: [PATCH 15/22] missing_syscall.h: Define MIPS ABI defines for musl | 4 | Subject: [PATCH] missing_syscall.h: Define MIPS ABI defines for musl |
| 5 | 5 | ||
| 6 | musl does not define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32, _MIPS_SIM_ABI64 | 6 | musl does not define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32, _MIPS_SIM_ABI64 |
| 7 | unlike glibc where these are provided by libc headers, therefore define | 7 | unlike glibc where these are provided by libc headers, therefore define |
| @@ -16,7 +16,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 16 | 2 files changed, 7 insertions(+) | 16 | 2 files changed, 7 insertions(+) |
| 17 | 17 | ||
| 18 | diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h | 18 | diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h |
| 19 | index d795efd8f2..d6729d3c1d 100644 | 19 | index e2cd8b4e35..f2fe489de7 100644 |
| 20 | --- a/src/basic/missing_syscall.h | 20 | --- a/src/basic/missing_syscall.h |
| 21 | +++ b/src/basic/missing_syscall.h | 21 | +++ b/src/basic/missing_syscall.h |
| 22 | @@ -20,6 +20,12 @@ | 22 | @@ -20,6 +20,12 @@ |
| @@ -31,9 +31,9 @@ index d795efd8f2..d6729d3c1d 100644 | |||
| 31 | + | 31 | + |
| 32 | #include "macro.h" | 32 | #include "macro.h" |
| 33 | #include "missing_keyctl.h" | 33 | #include "missing_keyctl.h" |
| 34 | #include "missing_stat.h" | 34 | #include "missing_sched.h" |
| 35 | diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c | 35 | diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c |
| 36 | index 7ae921a113..0ef9d1fd39 100644 | 36 | index dc59a9582c..9e802ef5a5 100644 |
| 37 | --- a/src/shared/base-filesystem.c | 37 | --- a/src/shared/base-filesystem.c |
| 38 | +++ b/src/shared/base-filesystem.c | 38 | +++ b/src/shared/base-filesystem.c |
| 39 | @@ -20,6 +20,7 @@ | 39 | @@ -20,6 +20,7 @@ |
| @@ -44,6 +44,3 @@ index 7ae921a113..0ef9d1fd39 100644 | |||
| 44 | 44 | ||
| 45 | typedef struct BaseFilesystem { | 45 | typedef struct BaseFilesystem { |
| 46 | const char *dir; /* directory or symlink to create */ | 46 | const char *dir; /* directory or symlink to create */ |
| 47 | -- | ||
| 48 | 2.34.1 | ||
| 49 | |||
diff --git a/meta/recipes-core/systemd/systemd/0016-pass-correct-parameters-to-getdents64.patch b/meta/recipes-core/systemd/systemd/0016-pass-correct-parameters-to-getdents64.patch index 0be817e62d..947833e92b 100644 --- a/meta/recipes-core/systemd/systemd/0016-pass-correct-parameters-to-getdents64.patch +++ b/meta/recipes-core/systemd/systemd/0016-pass-correct-parameters-to-getdents64.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 0994b59dba9f248ad31cb7087046dc00b72cb4ea Mon Sep 17 00:00:00 2001 | 1 | From c9c0cdbc37c2e0ac1917188b6f3a1ad54cbbd816 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 21 Jan 2022 15:15:11 -0800 | 3 | Date: Fri, 21 Jan 2022 15:15:11 -0800 |
| 4 | Subject: [PATCH 16/22] pass correct parameters to getdents64 | 4 | Subject: [PATCH] pass correct parameters to getdents64 |
| 5 | 5 | ||
| 6 | Fixes | 6 | Fixes |
| 7 | ../git/src/basic/recurse-dir.c:57:40: error: incompatible pointer types passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'struct dirent *' [-Werror,-Wincompatible-pointer-types] | 7 | ../git/src/basic/recurse-dir.c:57:40: error: incompatible pointer types passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'struct dirent *' [-Werror,-Wincompatible-pointer-types] |
| @@ -32,6 +32,3 @@ index 5e98b7a5d8..aef065047b 100644 | |||
| 32 | if (n < 0) | 32 | if (n < 0) |
| 33 | return -errno; | 33 | return -errno; |
| 34 | if (n == 0) | 34 | if (n == 0) |
| 35 | -- | ||
| 36 | 2.34.1 | ||
| 37 | |||
diff --git a/meta/recipes-core/systemd/systemd/0017-Adjust-for-musl-headers.patch b/meta/recipes-core/systemd/systemd/0017-Adjust-for-musl-headers.patch index 4176522a1c..922a390cc3 100644 --- a/meta/recipes-core/systemd/systemd/0017-Adjust-for-musl-headers.patch +++ b/meta/recipes-core/systemd/systemd/0017-Adjust-for-musl-headers.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 3c094d443ca30f19114392fd8ef274af6eabc12d Mon Sep 17 00:00:00 2001 | 1 | From 038809fb270d11909d502d76b56bb83784ff478d Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 21 Jan 2022 22:19:37 -0800 | 3 | Date: Fri, 21 Jan 2022 22:19:37 -0800 |
| 4 | Subject: [PATCH 17/22] Adjust for musl headers | 4 | Subject: [PATCH] Adjust for musl headers |
| 5 | 5 | ||
| 6 | Upstream-Status: Inappropriate [musl specific] | 6 | Upstream-Status: Inappropriate [musl specific] |
| 7 | 7 | ||
| @@ -425,7 +425,7 @@ index 607fe0053c..9ce4005874 100644 | |||
| 425 | 425 | ||
| 426 | #include "sd-dhcp-server.h" | 426 | #include "sd-dhcp-server.h" |
| 427 | diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c | 427 | diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c |
| 428 | index efbae6d868..1ea2151d50 100644 | 428 | index 8945827862..7571429523 100644 |
| 429 | --- a/src/network/networkd-dhcp4.c | 429 | --- a/src/network/networkd-dhcp4.c |
| 430 | +++ b/src/network/networkd-dhcp4.c | 430 | +++ b/src/network/networkd-dhcp4.c |
| 431 | @@ -3,7 +3,7 @@ | 431 | @@ -3,7 +3,7 @@ |
| @@ -451,7 +451,7 @@ index 32229a3fc7..662a345d6e 100644 | |||
| 451 | #include "in-addr-util.h" | 451 | #include "in-addr-util.h" |
| 452 | #include "networkd-address.h" | 452 | #include "networkd-address.h" |
| 453 | diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c | 453 | diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c |
| 454 | index ee5f0f2c0a..ea5269a2de 100644 | 454 | index a4fa321264..0fd81a53d1 100644 |
| 455 | --- a/src/network/networkd-link.c | 455 | --- a/src/network/networkd-link.c |
| 456 | +++ b/src/network/networkd-link.c | 456 | +++ b/src/network/networkd-link.c |
| 457 | @@ -3,7 +3,7 @@ | 457 | @@ -3,7 +3,7 @@ |
| @@ -464,7 +464,7 @@ index ee5f0f2c0a..ea5269a2de 100644 | |||
| 464 | #include <linux/netdevice.h> | 464 | #include <linux/netdevice.h> |
| 465 | #include <sys/socket.h> | 465 | #include <sys/socket.h> |
| 466 | diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c | 466 | diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c |
| 467 | index ab9eeb13a5..dd96fe7483 100644 | 467 | index 840ccb158d..9f2e85e32f 100644 |
| 468 | --- a/src/network/networkd-ndisc.c | 468 | --- a/src/network/networkd-ndisc.c |
| 469 | +++ b/src/network/networkd-ndisc.c | 469 | +++ b/src/network/networkd-ndisc.c |
| 470 | @@ -6,7 +6,7 @@ | 470 | @@ -6,7 +6,7 @@ |
| @@ -477,7 +477,7 @@ index ab9eeb13a5..dd96fe7483 100644 | |||
| 477 | #include "sd-ndisc.h" | 477 | #include "sd-ndisc.h" |
| 478 | 478 | ||
| 479 | diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c | 479 | diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c |
| 480 | index 7218d799fc..30d5574eae 100644 | 480 | index eb502ae2cf..5b25ee4523 100644 |
| 481 | --- a/src/network/networkd-route.c | 481 | --- a/src/network/networkd-route.c |
| 482 | +++ b/src/network/networkd-route.c | 482 | +++ b/src/network/networkd-route.c |
| 483 | @@ -1,9 +1,5 @@ | 483 | @@ -1,9 +1,5 @@ |
| @@ -502,7 +502,7 @@ index 7218d799fc..30d5574eae 100644 | |||
| 502 | _cleanup_(route_freep) Route *route = NULL; | 502 | _cleanup_(route_freep) Route *route = NULL; |
| 503 | 503 | ||
| 504 | diff --git a/src/network/networkd-setlink.c b/src/network/networkd-setlink.c | 504 | diff --git a/src/network/networkd-setlink.c b/src/network/networkd-setlink.c |
| 505 | index 2298f9ea3a..7d5f87de53 100644 | 505 | index 011ea1fe6e..59dfe733eb 100644 |
| 506 | --- a/src/network/networkd-setlink.c | 506 | --- a/src/network/networkd-setlink.c |
| 507 | +++ b/src/network/networkd-setlink.c | 507 | +++ b/src/network/networkd-setlink.c |
| 508 | @@ -2,7 +2,7 @@ | 508 | @@ -2,7 +2,7 @@ |
| @@ -567,6 +567,3 @@ index f528a46b8e..830318cda5 100644 | |||
| 567 | #include <linux/netdevice.h> | 567 | #include <linux/netdevice.h> |
| 568 | #include <linux/pci_regs.h> | 568 | #include <linux/pci_regs.h> |
| 569 | 569 | ||
| 570 | -- | ||
| 571 | 2.34.1 | ||
| 572 | |||
diff --git a/meta/recipes-core/systemd/systemd/0018-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch b/meta/recipes-core/systemd/systemd/0018-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch index 75f6b9094a..9e21222b99 100644 --- a/meta/recipes-core/systemd/systemd/0018-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch +++ b/meta/recipes-core/systemd/systemd/0018-test-bus-error-strerror-is-assumed-to-be-GNU-specifi.patch | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | From be02bd0876a061728661535a709d313e39fe1ac3 Mon Sep 17 00:00:00 2001 | 1 | From b771a2ed8d6e07b006710767b79475dece4d789c Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 8 Nov 2022 13:31:34 -0800 | 3 | Date: Tue, 8 Nov 2022 13:31:34 -0800 |
| 4 | Subject: [PATCH 18/22] test-bus-error: strerror() is assumed to be GNU | 4 | Subject: [PATCH] test-bus-error: strerror() is assumed to be GNU specific |
| 5 | specific version mark it so | 5 | version mark it so |
| 6 | 6 | ||
| 7 | Upstream-Status: Inappropriate [Upstream systemd only supports glibc] | 7 | Upstream-Status: Inappropriate [Upstream systemd only supports glibc] |
| 8 | 8 | ||
| @@ -47,6 +47,3 @@ index 376d532281..967cfd4d67 100644 | |||
| 47 | 47 | ||
| 48 | TEST(PROTECT_ERRNO) { | 48 | TEST(PROTECT_ERRNO) { |
| 49 | errno = 12; | 49 | errno = 12; |
| 50 | -- | ||
| 51 | 2.34.1 | ||
| 52 | |||
diff --git a/meta/recipes-core/systemd/systemd/0019-errno-util-Make-STRERROR-portable-for-musl.patch b/meta/recipes-core/systemd/systemd/0019-errno-util-Make-STRERROR-portable-for-musl.patch index e038b73678..a6f2fe1d0f 100644 --- a/meta/recipes-core/systemd/systemd/0019-errno-util-Make-STRERROR-portable-for-musl.patch +++ b/meta/recipes-core/systemd/systemd/0019-errno-util-Make-STRERROR-portable-for-musl.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 46d80840bfe37e67d4f18c37a77751ea1fe63a07 Mon Sep 17 00:00:00 2001 | 1 | From f70a8031ded3bcfe4c5f1cea4763ae257ca27be8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 23 Jan 2023 23:39:46 -0800 | 3 | Date: Mon, 23 Jan 2023 23:39:46 -0800 |
| 4 | Subject: [PATCH 19/22] errno-util: Make STRERROR portable for musl | 4 | Subject: [PATCH] errno-util: Make STRERROR portable for musl |
| 5 | 5 | ||
| 6 | Sadly, systemd has decided to use yet another GNU extention in a macro | 6 | Sadly, systemd has decided to use yet another GNU extention in a macro |
| 7 | lets make this such that we can use XSI compliant strerror_r() for | 7 | lets make this such that we can use XSI compliant strerror_r() for |
| @@ -37,6 +37,3 @@ index 27804e6382..274c1c6ef1 100644 | |||
| 37 | /* A helper to print an error message or message for functions that return 0 on EOF. | 37 | /* A helper to print an error message or message for functions that return 0 on EOF. |
| 38 | * Note that we can't use ({ … }) to define a temporary variable, so errnum is | 38 | * Note that we can't use ({ … }) to define a temporary variable, so errnum is |
| 39 | * evaluated twice. */ | 39 | * evaluated twice. */ |
| 40 | -- | ||
| 41 | 2.34.1 | ||
| 42 | |||
diff --git a/meta/recipes-core/systemd/systemd/0020-sd-event-Make-malloc_trim-conditional-on-glibc.patch b/meta/recipes-core/systemd/systemd/0020-sd-event-Make-malloc_trim-conditional-on-glibc.patch index b83fffe793..cc123b4dee 100644 --- a/meta/recipes-core/systemd/systemd/0020-sd-event-Make-malloc_trim-conditional-on-glibc.patch +++ b/meta/recipes-core/systemd/systemd/0020-sd-event-Make-malloc_trim-conditional-on-glibc.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 9eb4867b4e2dbdb2484ae854022aff97e2f0feb3 Mon Sep 17 00:00:00 2001 | 1 | From 9ae5377acfa895bfc1ea61aef4fbe754bc2f7f33 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 2 Aug 2023 12:06:27 -0700 | 3 | Date: Wed, 2 Aug 2023 12:06:27 -0700 |
| 4 | Subject: [PATCH 20/22] sd-event: Make malloc_trim() conditional on glibc | 4 | Subject: [PATCH] sd-event: Make malloc_trim() conditional on glibc |
| 5 | 5 | ||
| 6 | musl does not have this API | 6 | musl does not have this API |
| 7 | 7 | ||
| @@ -12,7 +12,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 12 | 1 file changed, 3 insertions(+), 1 deletion(-) | 12 | 1 file changed, 3 insertions(+), 1 deletion(-) |
| 13 | 13 | ||
| 14 | diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c | 14 | diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c |
| 15 | index 288798a0dc..6419a7f216 100644 | 15 | index 25f3b1fc4f..9ea3c964b2 100644 |
| 16 | --- a/src/libsystemd/sd-event/sd-event.c | 16 | --- a/src/libsystemd/sd-event/sd-event.c |
| 17 | +++ b/src/libsystemd/sd-event/sd-event.c | 17 | +++ b/src/libsystemd/sd-event/sd-event.c |
| 18 | @@ -1874,7 +1874,7 @@ _public_ int sd_event_add_exit( | 18 | @@ -1874,7 +1874,7 @@ _public_ int sd_event_add_exit( |
| @@ -34,6 +34,3 @@ index 288798a0dc..6419a7f216 100644 | |||
| 34 | usec_t after_timestamp = now(CLOCK_MONOTONIC); | 34 | usec_t after_timestamp = now(CLOCK_MONOTONIC); |
| 35 | 35 | ||
| 36 | if (r > 0) | 36 | if (r > 0) |
| 37 | -- | ||
| 38 | 2.34.1 | ||
| 39 | |||
diff --git a/meta/recipes-core/systemd/systemd/0021-shared-Do-not-use-malloc_info-on-musl.patch b/meta/recipes-core/systemd/systemd/0021-shared-Do-not-use-malloc_info-on-musl.patch index 7eff069bb7..5e03284507 100644 --- a/meta/recipes-core/systemd/systemd/0021-shared-Do-not-use-malloc_info-on-musl.patch +++ b/meta/recipes-core/systemd/systemd/0021-shared-Do-not-use-malloc_info-on-musl.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 502597b9ddd6b145541b23fadca0b1d3ca9f6367 Mon Sep 17 00:00:00 2001 | 1 | From d814a5cae2ecbee079816e3fc7b34a59da356a3b Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 2 Aug 2023 12:20:40 -0700 | 3 | Date: Wed, 2 Aug 2023 12:20:40 -0700 |
| 4 | Subject: [PATCH 21/22] shared: Do not use malloc_info on musl | 4 | Subject: [PATCH] shared: Do not use malloc_info on musl |
| 5 | 5 | ||
| 6 | Upstream-Status: Inappropriate [musl-specific] | 6 | Upstream-Status: Inappropriate [musl-specific] |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| @@ -52,6 +52,3 @@ index 8e70e365dd..9e782caec9 100644 | |||
| 52 | (void) memstream_dump(LOG_INFO, &m); | 52 | (void) memstream_dump(LOG_INFO, &m); |
| 53 | break; | 53 | break; |
| 54 | } | 54 | } |
| 55 | -- | ||
| 56 | 2.34.1 | ||
| 57 | |||
diff --git a/meta/recipes-core/systemd/systemd/0022-avoid-missing-LOCK_EX-declaration.patch b/meta/recipes-core/systemd/systemd/0022-avoid-missing-LOCK_EX-declaration.patch index 24f3bf74a0..e4ed2002c4 100644 --- a/meta/recipes-core/systemd/systemd/0022-avoid-missing-LOCK_EX-declaration.patch +++ b/meta/recipes-core/systemd/systemd/0022-avoid-missing-LOCK_EX-declaration.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From fd52f1764647e03a35e8f0ed0ef952049073ccbd Mon Sep 17 00:00:00 2001 | 1 | From e355e927950e8978a417067f25f30bf311896c96 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Tue, 2 Jan 2024 11:03:27 +0800 | 3 | Date: Tue, 2 Jan 2024 11:03:27 +0800 |
| 4 | Subject: [PATCH 22/22] avoid missing LOCK_EX declaration | 4 | Subject: [PATCH] avoid missing LOCK_EX declaration |
| 5 | 5 | ||
| 6 | This only happens on MUSL. Include sys/file.h to avoid compilation | 6 | This only happens on MUSL. Include sys/file.h to avoid compilation |
| 7 | error about missing LOCK_EX declaration. | 7 | error about missing LOCK_EX declaration. |
| @@ -15,10 +15,10 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
| 15 | 2 files changed, 2 insertions(+) | 15 | 2 files changed, 2 insertions(+) |
| 16 | 16 | ||
| 17 | diff --git a/src/core/exec-invoke.c b/src/core/exec-invoke.c | 17 | diff --git a/src/core/exec-invoke.c b/src/core/exec-invoke.c |
| 18 | index 70d963e269..7084811439 100644 | 18 | index 308d332c15..b1c43bbc6a 100644 |
| 19 | --- a/src/core/exec-invoke.c | 19 | --- a/src/core/exec-invoke.c |
| 20 | +++ b/src/core/exec-invoke.c | 20 | +++ b/src/core/exec-invoke.c |
| 21 | @@ -4,6 +4,7 @@ | 21 | @@ -5,6 +5,7 @@ |
| 22 | #include <sys/ioctl.h> | 22 | #include <sys/ioctl.h> |
| 23 | #include <sys/mount.h> | 23 | #include <sys/mount.h> |
| 24 | #include <sys/prctl.h> | 24 | #include <sys/prctl.h> |
| @@ -38,6 +38,3 @@ index 5339bc4e5e..0697495f23 100644 | |||
| 38 | 38 | ||
| 39 | int lock_dev_console(void); | 39 | int lock_dev_console(void); |
| 40 | 40 | ||
| 41 | -- | ||
| 42 | 2.34.1 | ||
| 43 | |||
diff --git a/meta/recipes-core/systemd/systemd_255.4.bb b/meta/recipes-core/systemd/systemd_255.13.bb index 0ccca8a567..0ccca8a567 100644 --- a/meta/recipes-core/systemd/systemd_255.4.bb +++ b/meta/recipes-core/systemd/systemd_255.13.bb | |||
