summaryrefslogtreecommitdiffstats
path: root/rules/lldpd.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-01-11 15:04:26 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-04-11 11:21:51 +0200
commit5eef8c38eac3b76932842317bdb1d1fd03c54cbb (patch)
tree902897e02b945650cd606afdd185efcc99deed5e /rules/lldpd.make
parentdc1ee3c1d8d1231493370300bd0a2734de05a40c (diff)
downloadptxdist-5eef8c38eac3b76932842317bdb1d1fd03c54cbb.tar.gz
ptxdist-5eef8c38eac3b76932842317bdb1d1fd03c54cbb.tar.xz
lldpd: /usr merge
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/lldpd.make')
-rw-r--r--rules/lldpd.make10
1 files changed, 5 insertions, 5 deletions
diff --git a/rules/lldpd.make b/rules/lldpd.make
index 7ab8c2f67..3cb6393e7 100644
--- a/rules/lldpd.make
+++ b/rules/lldpd.make
@@ -46,7 +46,7 @@ LLDPD_CONF_OPT := $(CROSS_AUTOCONF_USR) \
--$(call ptx/wwo, PTXCONF_LLDPD_SNMP)-snmp \
--$(call ptx/wwo, PTXCONF_LLDPD_JSON)-json \
--$(call ptx/wwo, PTXCONF_LLDPD_XML)-xml \
- --with-systemdsystemunitdir=/lib/systemd/system \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system \
--with-privsep-user="$(PTXCONF_LLDPD_PRIVSEP_USER)" \
--with-privsep-group="$(PTXCONF_LLDPD_PRIVSEP_GROUP)" \
--with-privsep-chroot="$(PTXCONF_LLDPD_PRIVSEP_CHROOT)"
@@ -87,14 +87,14 @@ endif
endif
ifdef PTXCONF_LLDPD_SYSTEMD_UNIT
- @$(call install_alternative, lldpd, 0, 0, 0644, /lib/systemd/system/lldpd.service)
- @$(call install_replace, lldpd, /lib/systemd/system/lldpd.service, \
+ @$(call install_alternative, lldpd, 0, 0, 0644, /usr/lib/systemd/system/lldpd.service)
+ @$(call install_replace, lldpd, /usr/lib/systemd/system/lldpd.service, \
@DAEMON_ARGS@, $(PTXCONF_LLDPD_DAEMON_ARGS))
- @$(call install_replace, lldpd, /lib/systemd/system/lldpd.service, \
+ @$(call install_replace, lldpd, /usr/lib/systemd/system/lldpd.service, \
@PRIVSEP_CHROOT@, $(PTXCONF_LLDPD_PRIVSEP_CHROOT))
@$(call install_link, lldpd, \
../lldpd.service, \
- /lib/systemd/system/multi-user.target.wants/lldpd.service \
+ /usr/lib/systemd/system/multi-user.target.wants/lldpd.service \
)
endif