diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2019-06-07 23:26:39 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-18 11:28:58 +0100 |
commit | 08dcc9965ba8979e46ae53334417bc198e6e9705 (patch) | |
tree | 928319ed5241693ea94dd08251ff2bb689a07e20 /meta/recipes-core/systemd | |
parent | 3e6fa6f4a755c878a7a509f5c46aa1d83b9ee992 (diff) | |
download | poky-08dcc9965ba8979e46ae53334417bc198e6e9705.tar.gz |
systemd: avoid musl specific patches affect glibc systems
systemd upstream only care about glibc. We made musl specific
patches so that systemd could work. But currently these patches
contain potential security issues.
So apply these patches only when the libc is musl.
(From OE-Core rev: 2ebd3398578c339e17b44b3ae5483cec1d0c7e7d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r-- | meta/recipes-core/systemd/systemd_241.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_241.bb b/meta/recipes-core/systemd/systemd_241.bb index 3a58f44a3b..eb3242d624 100644 --- a/meta/recipes-core/systemd/systemd_241.bb +++ b/meta/recipes-core/systemd/systemd_241.bb | |||
@@ -27,7 +27,7 @@ SRC_URI += "file://touchscreen.rules \ | |||
27 | " | 27 | " |
28 | 28 | ||
29 | # patches needed by musl | 29 | # patches needed by musl |
30 | SRC_URI += "${SRC_URI_MUSL}" | 30 | SRC_URI_append_libc-musl = " ${SRC_URI_MUSL}" |
31 | SRC_URI_MUSL = "file://0001-Use-getenv-when-secure-versions-are-not-available.patch \ | 31 | SRC_URI_MUSL = "file://0001-Use-getenv-when-secure-versions-are-not-available.patch \ |
32 | file://0002-don-t-use-glibc-specific-qsort_r.patch \ | 32 | file://0002-don-t-use-glibc-specific-qsort_r.patch \ |
33 | file://0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch \ | 33 | file://0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch \ |