mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-04 21:05:25 +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() {
|
||||
cp ${WORKDIR}/init-script.in ${S}/init-script.in
|
||||
cp ${UNPACKDIR}/init-script.in ${S}/init-script.in
|
||||
oe_runconf || die "make failed"
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@ do_install() {
|
|||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user