diff options
author | Roy Li <rongqing.li@windriver.com> | 2015-10-30 15:43:21 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-04-17 06:57:47 -0700 |
commit | 8d2d193ce3ad5c9fdd62afac1b6c986e50748d08 (patch) | |
tree | eafb9d888abbbdd3b7efbfe7d7421a619d2c3df5 | |
parent | c305ac5d2f5285d5eec8952a4ca7f3b4f89aed96 (diff) | |
download | meta-openembedded-contrib-8d2d193ce3ad5c9fdd62afac1b6c986e50748d08.tar.gz |
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 <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-networking/recipes-daemons/lldpd/lldpd_0.7.17.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_0.7.17.bb b/meta-networking/recipes-daemons/lldpd/lldpd_0.7.17.bb index 47d3c38ed0..ba7f09e0b1 100644 --- a/meta-networking/recipes-daemons/lldpd/lldpd_0.7.17.bb +++ b/meta-networking/recipes-daemons/lldpd/lldpd_0.7.17.bb @@ -24,7 +24,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" |