mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 06:13:14 +00:00
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>
This commit is contained in:
parent
d2b204d21a
commit
20b63d32bc
@ -23,7 +23,10 @@ GROUPADD_PARAM_${PN} = "--system lldpd"
|
|||||||
EXTRA_OECONF += "--without-embedded-libevent \
|
EXTRA_OECONF += "--without-embedded-libevent \
|
||||||
--disable-oldies \
|
--disable-oldies \
|
||||||
--with-privsep-user=lldpd \
|
--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 ??= "cdp fdp edp sonmp lldpmed dot1 dot3"
|
||||||
PACKAGECONFIG[json] = "--with-json,--without-json,jansson"
|
PACKAGECONFIG[json] = "--with-json,--without-json,jansson"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user