[OE-core] [PATCH 2/4] systemd: Do not force removing resolved from PACKAGECONFIG

Khem Raj raj.khem at gmail.com
Thu Feb 27 08:05:56 UTC 2020


This needs __UAPI_DEF_ETHHDR to be set to 0 which now
taken care by CFLAGS

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-core/systemd/systemd_244.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_244.3.bb b/meta/recipes-core/systemd/systemd_244.3.bb
index 5d863410b8..e7d2997963 100644
--- a/meta/recipes-core/systemd/systemd_244.3.bb
+++ b/meta/recipes-core/systemd/systemd_244.3.bb
@@ -98,12 +98,13 @@ PACKAGECONFIG_remove_libc-musl = " \
     nss \
     nss-mymachines \
     nss-resolve \
-    resolved \
     smack \
     sysusers \
     utmp \
 "
 
+CFLAGS_append_libc-musl = "-D__UAPI_DEF_ETHHDR=0 "
+
 # Use the upstream systemd serial-getty at .service and rely on
 # systemd-getty-generator instead of using the OE-core specific
 # systemd-serialgetty.bb - not enabled by default.
-- 
2.25.1



More information about the Openembedded-core mailing list