Skip to contentSkip to conversation

systemd: enable compatibility libraries by default

PATCH In review Ross Burton 2 participants 3 messages Jan 6, 2016 – Jan 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: enable compatibility libraries by default

Too many packages haven't been updated to use the new systemd library names, so enable the compatibility libraries by default.

---
 meta/recipes-core/systemd/systemd_228.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_228.bb +1 -1
index 6673042..19b7b42 100644
@@ -59,7 +59,7 @@ LDFLAGS_append_libc-uclibc = " -lrt -lssp_nonshared -lssp "
 
 GTKDOC_DOCDIR = "${S}/docs/"
 
-PACKAGECONFIG ??= "xz ldconfig \
+PACKAGECONFIG ??= "compat xz ldconfig \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
Signature · 1 line
2.6.4
#1 lore raw
Quoted 5 lines · Ross Burton

Too many packages haven't been updated to use the new systemd library names, so enable the compatibility libraries by default.

I think it would be good if we could get them to move. How many such packages do you see ?

Quoted 27 lines

---
meta/recipes-core/systemd/systemd_228.bb | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_228.bb +0 -0
index 6673042..19b7b42 100644
@@ -59,7 +59,7 @@ LDFLAGS_append_libc-uclibc = " -lrt -lssp_nonshared -lssp "
 

GTKDOC_DOCDIR = "${S}/docs/"

meta/recipes-core/systemd/systemd_228.bb +1 -2
-PACKAGECONFIG ??= "xz ldconfig \
+PACKAGECONFIG ??= "compat xz ldconfig \
                   ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
                   ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
                   ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
--

2.6.4

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

#2 lore raw
Quoted 3 lines · Khem Raj

I think it would be good if we could get them to move. How many such packages do you see ?

The straw that broke the camels back, so to speak, was the recent post about rsyslog where enabling a systemd-using PACKAGECONFIG didn't actually work as it was using the older names. The overhead of the compat libraries is fairly negligible and can be turned off if required.

Ross