From: Chen Qi Date: Mon, 27 May 2019 01:33:21 +0000 (+0800) Subject: systemd: avoid musl specific patches affect glibc systems X-Git-Tag: uninative-2.5~26 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=464a1c16db1d7cc950eaee43bd8a47124dc4398f;p=openembedded-core.git 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. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- 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 \ " # patches needed by musl -SRC_URI += "${SRC_URI_MUSL}" +SRC_URI_append_libc-musl = " ${SRC_URI_MUSL}" SRC_URI_MUSL = "file://0001-Use-getenv-when-secure-versions-are-not-available.patch \ file://0002-don-t-use-glibc-specific-qsort_r.patch \ file://0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch \