From b89c6060d336f1aaa7f914a9cc92e1e16c1c5237 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 26 Mar 2025 03:59:18 +0000 Subject: [PATCH] nagios-ncsa: WORKDIR -> UNPACKDIR transition Signed-off-by: Bruce Ashfield --- recipes-extended/nagios/nagios-nsca_2.9.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extended/nagios/nagios-nsca_2.9.2.bb b/recipes-extended/nagios/nagios-nsca_2.9.2.bb index 2db51238..a400b68f 100644 --- a/recipes-extended/nagios/nagios-nsca_2.9.2.bb +++ b/recipes-extended/nagios/nagios-nsca_2.9.2.bb @@ -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 }