[oe-commits] Khem Raj : systemd: Create packageconfig for ldconfig support

git at git.openembedded.org git at git.openembedded.org
Tue Mar 10 10:48:08 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 9c2eb7f4774356fabf21ff5147a7d34601fb57c8
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9c2eb7f4774356fabf21ff5147a7d34601fb57c8

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Mar  5 01:23:49 2015 +0000

systemd: Create packageconfig for ldconfig support

Useful when we disable ldconfig in glibc, we need to be able to
turn it off in systemd too, otherwise systemd tries to launch
the service and it fails

Change-Id: I170307f809a13def0cafc282e88d4eafa0313c31
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-core/systemd/systemd_219.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb
index 95b3f49..454268a 100644
--- a/meta/recipes-core/systemd/systemd_219.bb
+++ b/meta/recipes-core/systemd/systemd_219.bb
@@ -58,7 +58,7 @@ LDFLAGS_append_libc-uclibc = " -lrt"
 
 GTKDOC_DOCDIR = "${S}/docs/"
 
-PACKAGECONFIG ??= "xz \
+PACKAGECONFIG ??= "xz ldconfig \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)}"
 
@@ -83,6 +83,7 @@ PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam"
 PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon"
 # Update NAT firewall rules
 PACKAGECONFIG[iptc] = "--enable-libiptc,--disable-libiptc,iptables"
+PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
 
 CACHED_CONFIGUREVARS = "ac_cv_path_KILL=${base_bindir}/kill"
 



More information about the Openembedded-commits mailing list