From 152bec3dd7ae1040afa4945b47213afc279e22eb Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Fri, 21 Feb 2025 10:40:06 +0800 Subject: nagios-core: WORKDIR -> UNPACKDIR transition This adapts to the oe-core rework to enforce a separate directory for unpacking local sources (UNPACKDIR) instead of directly using WORKDIR. Follows the preliminary guideline from: https://lists.openembedded.org/g/openembedded-architecture/message/2007 Signed-off-by: Changqing Li Signed-off-by: Bruce Ashfield --- recipes-extended/nagios/nagios-core_4.4.6.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-extended/nagios/nagios-core_4.4.6.bb b/recipes-extended/nagios/nagios-core_4.4.6.bb index 59b70895..7ec930cd 100644 --- a/recipes-extended/nagios/nagios-core_4.4.6.bb +++ b/recipes-extended/nagios/nagios-core_4.4.6.bb @@ -106,14 +106,14 @@ do_install() { if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${systemd_unitdir}/system - install -m 644 ${WORKDIR}/nagios-core.service ${D}${systemd_unitdir}/system/ + install -m 644 ${UNPACKDIR}/nagios-core.service ${D}${systemd_unitdir}/system/ # use our own service file rm -f ${D}${systemd_unitdir}/system/nagios.service install -d ${D}${sysconfdir}/tmpfiles.d - install -m 755 ${WORKDIR}/nagios-core-systemd-volatile.conf ${D}${sysconfdir}/tmpfiles.d/nagios-core-volatile.conf + install -m 755 ${UNPACKDIR}/nagios-core-systemd-volatile.conf ${D}${sysconfdir}/tmpfiles.d/nagios-core-volatile.conf else install -d ${D}${sysconfdir}/default/volatiles - install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/99_nagios + install -m 0644 ${UNPACKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/99_nagios fi } -- cgit v1.2.3-54-g00ecf