mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
nagios-ncsa: WORKDIR -> UNPACKDIR transition
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
a3ffe36184
commit
b89c6060d3
|
@ -35,7 +35,7 @@ EXTRA_OECONF += "--with-nsca-user=${NAGIOS_USER} \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cp ${WORKDIR}/init-script.in ${S}/init-script.in
|
cp ${UNPACKDIR}/init-script.in ${S}/init-script.in
|
||||||
oe_runconf || die "make failed"
|
oe_runconf || die "make failed"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ do_install() {
|
||||||
|
|
||||||
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-nsca.service ${D}${systemd_unitdir}/system/
|
install -m 644 ${UNPACKDIR}/nagios-nsca.service ${D}${systemd_unitdir}/system/
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user