systemd: avoid musl specific patches affect glibc systems
v2 cover systemd: avoid musl specific patches affect glibc systems
Changes in V2:
* change to use libc-musl override for SRC_URI
The following changes since commit 06381a917e7e7648ace4746cbda55dcd138a64ec:
perl/modules: Add various missing ptest perl module dependencies (2019-05-22 07:24:52 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/systemd-musl
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-musl
Chen Qi (1):
systemd: avoid musl specific patches affect glibc systems
meta/recipes-core/systemd/systemd_242.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
PATCH v2 1/1 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.
--- meta/recipes-core/systemd/systemd_242.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_242.bb +1 -1
@@ -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 \
Signature · 1 line
1.9.1