From 20b63d32bce7e09a72e945313717702201b6484d Mon Sep 17 00:00:00 2001 From: Roy Li Date: Fri, 30 Oct 2015 15:43:21 +0800 Subject: lldpd: configure the systemd unit file dir configure the systemd unit file dir, otherwise it will be auto-checked by 'pkg-config --variable=systemdsystemunitdir systemd', but if systemd is not built firstly, and the the unit file will not be installed, and lead to below error: ERROR: Function failed: SYSTEMD_SERVICE_lldpd value lldpd.service does not exist and disable sysusersdir, since sysuser is not used currently. Signed-off-by: Roy Li Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-daemons/lldpd/lldpd_0.7.19.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_0.7.19.bb b/meta-networking/recipes-daemons/lldpd/lldpd_0.7.19.bb index 7d5462625a..1bdc8af2a8 100644 --- a/meta-networking/recipes-daemons/lldpd/lldpd_0.7.19.bb +++ b/meta-networking/recipes-daemons/lldpd/lldpd_0.7.19.bb @@ -23,7 +23,10 @@ GROUPADD_PARAM_${PN} = "--system lldpd" EXTRA_OECONF += "--without-embedded-libevent \ --disable-oldies \ --with-privsep-user=lldpd \ - --with-privsep-group=lldpd" + --with-privsep-group=lldpd \ + --with-systemdsystemunitdir=${systemd_system_unitdir} \ + --without-sysusersdir \ +" PACKAGECONFIG ??= "cdp fdp edp sonmp lldpmed dot1 dot3" PACKAGECONFIG[json] = "--with-json,--without-json,jansson" -- cgit 1.2.3-korg