diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2019-05-27 09:33:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-27 17:06:34 +0100 |
commit | 777338281c9fc13f845e6dfa5686e4b3d13a988c (patch) | |
tree | f4a42ee433ee0a1bd4a655b0d4796fdaaa673cbd /meta/recipes-core | |
parent | be5672e43a4a6bd4de3d586db04be27bccb65a0f (diff) | |
download | poky-777338281c9fc13f845e6dfa5686e4b3d13a988c.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: 464a1c16db1d7cc950eaee43bd8a47124dc4398f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd_242.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb index 2dda0d0b95..93a23dd987 100644 --- a/meta/recipes-core/systemd/systemd_242.bb +++ b/meta/recipes-core/systemd/systemd_242.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 \ |