[oe-commits] [openembedded-core] 29/30: systemd: avoid musl specific patches affect glibc systems

git at git.openembedded.org git at git.openembedded.org
Tue Jun 18 10:32:01 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch warrior
in repository openembedded-core.

commit 2ebd3398578c339e17b44b3ae5483cec1d0c7e7d
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Fri Jun 7 23:26:39 2019 +0300

    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 <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Adrian Bunk <bunk at stusta.de>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-core/systemd/systemd_241.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_241.bb b/meta/recipes-core/systemd/systemd_241.bb
index 3a58f44..eb3242d 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 \
            "
 
 # 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 \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list