mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
nagios-nrpe: fix WORKDIR -> UNPACKDIR references
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
5385113151
commit
a3ffe36184
|
@ -73,11 +73,11 @@ do_install:append() {
|
||||||
-i ${D}${NAGIOS_CONF_DIR}/nrpe.cfg
|
-i ${D}${NAGIOS_CONF_DIR}/nrpe.cfg
|
||||||
|
|
||||||
install -d ${D}${NAGIOS_PLUGIN_CONF_DIR}
|
install -d ${D}${NAGIOS_PLUGIN_CONF_DIR}
|
||||||
install -m 664 ${WORKDIR}/check_nrpe.cfg ${D}${NAGIOS_PLUGIN_CONF_DIR}
|
install -m 664 ${UNPACKDIR}/check_nrpe.cfg ${D}${NAGIOS_PLUGIN_CONF_DIR}
|
||||||
|
|
||||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||||
install -d ${D}${systemd_unitdir}/system
|
install -d ${D}${systemd_unitdir}/system
|
||||||
install -m 644 ${WORKDIR}/nagios-nrpe.service ${D}${systemd_unitdir}/system/
|
install -m 644 ${UNPACKDIR}/nagios-nrpe.service ${D}${systemd_unitdir}/system/
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user