diff options
author | Roy Li <rongqing.li@windriver.com> | 2015-10-30 15:43:21 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-11-30 12:59:45 -0500 |
commit | 20b63d32bce7e09a72e945313717702201b6484d (patch) | |
tree | ba9c0648eeb780dc0dd71deaea4178691c5e8e6d /meta-networking/recipes-daemons/lldpd | |
parent | d2b204d21a7867270a1546561d0ba8a87124ee72 (diff) | |
download | meta-openembedded-20b63d32bce7e09a72e945313717702201b6484d.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>
Diffstat (limited to 'meta-networking/recipes-daemons/lldpd')
-rw-r--r-- | meta-networking/recipes-daemons/lldpd/lldpd_0.7.19.bb | 5 |
1 files changed, 4 insertions, 1 deletions
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 7d5462625..1bdc8af2a 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" | |||
23 | EXTRA_OECONF += "--without-embedded-libevent \ | 23 | EXTRA_OECONF += "--without-embedded-libevent \ |
24 | --disable-oldies \ | 24 | --disable-oldies \ |
25 | --with-privsep-user=lldpd \ | 25 | --with-privsep-user=lldpd \ |
26 | --with-privsep-group=lldpd" | 26 | --with-privsep-group=lldpd \ |
27 | --with-systemdsystemunitdir=${systemd_system_unitdir} \ | ||
28 | --without-sysusersdir \ | ||
29 | " | ||
27 | 30 | ||
28 | PACKAGECONFIG ??= "cdp fdp edp sonmp lldpmed dot1 dot3" | 31 | PACKAGECONFIG ??= "cdp fdp edp sonmp lldpmed dot1 dot3" |
29 | PACKAGECONFIG[json] = "--with-json,--without-json,jansson" | 32 | PACKAGECONFIG[json] = "--with-json,--without-json,jansson" |