Skip to contentSkip to conversation

systemd: Do not force removing resolved from PACKAGECONFIG

PATCH In review Khem Raj 2 participants 3 messages Feb 28, 2020 – Feb 29, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 2/4 systemd: Do not force removing resolved from PACKAGECONFIG

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

---
v2: Fix typo in append

 meta/recipes-core/systemd/systemd_244.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_244.3.bb +2 -1
index 5d863410b8..a56a28a189 100644
@@ -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 [email protected] and rely on
 # systemd-getty-generator instead of using the OE-core specific
 # systemd-serialgetty.bb - not enabled by default.
Signature · 1 line
2.25.1
#1 lore raw
Quoted 7 lines · Khem Raj

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

---
v2: Fix typo in append

Looks like this arrived too late. The v1 patch is already in master.

Quoted 30 lines
 meta/recipes-core/systemd/systemd_244.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_244.3.bb +2 -2
index 5d863410b8..a56a28a189 100644
@@ -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 [email protected] and rely on
 # systemd-getty-generator instead of using the OE-core specific
 # systemd-serialgetty.bb - not enabled by default.
--

2.25.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

author
#2 lore raw
Quoted 11 lines · Andre McCurdy
Quoted 7 lines · Khem Raj

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

---
v2: Fix typo in append

Looks like this arrived too late. The v1 patch is already in master.

No worries will rebase and resend

Quoted 32 lines

Review

Quoted 4 lines
 meta/recipes-core/systemd/systemd_244.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
(quoted diff) +0 -0

b/meta/recipes-core/systemd/systemd_244.3.bb

Quoted 26 lines

index 5d863410b8..a56a28a189 100644

meta/recipes-core/systemd/systemd_244.3.bb +2 -2
@@ -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 [email protected] and rely on
 # systemd-getty-generator instead of using the OE-core specific
 # systemd-serialgetty.bb - not enabled by default.
--

2.25.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core