From dd7724f447a11c76462353b9735f95cea19da942 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 28 May 2024 13:17:03 +0000 Subject: ovs: convert WORKDIR references to UNPACKDIR fetched files should be referenced via UNPACKDIR instead of WORKDIR. Signed-off-by: Bruce Ashfield --- recipes-networking/openvswitch/openvswitch.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes-networking/openvswitch/openvswitch.inc') diff --git a/recipes-networking/openvswitch/openvswitch.inc b/recipes-networking/openvswitch/openvswitch.inc index 767a41e6..a792a903 100644 --- a/recipes-networking/openvswitch/openvswitch.inc +++ b/recipes-networking/openvswitch/openvswitch.inc @@ -104,13 +104,13 @@ do_install:prepend() { do_install:append() { install -d ${D}/${sysconfdir}/default/ - install -m 660 ${WORKDIR}/openvswitch-switch-setup ${D}/${sysconfdir}/default/openvswitch-switch + install -m 660 ${UNPACKDIR}/openvswitch-switch-setup ${D}/${sysconfdir}/default/openvswitch-switch install -d ${D}/${sysconfdir}/openvswitch-testcontroller - install -m 660 ${WORKDIR}/openvswitch-testcontroller-setup ${D}/${sysconfdir}/default/openvswitch-testcontroller + install -m 660 ${UNPACKDIR}/openvswitch-testcontroller-setup ${D}/${sysconfdir}/default/openvswitch-testcontroller install -d ${D}/${sysconfdir}/init.d/ - install -m 755 ${WORKDIR}/openvswitch-testcontroller ${D}/${sysconfdir}/init.d/openvswitch-testcontroller - install -m 755 ${WORKDIR}/openvswitch-switch ${D}/${sysconfdir}/init.d/openvswitch-switch + install -m 755 ${UNPACKDIR}/openvswitch-testcontroller ${D}/${sysconfdir}/init.d/openvswitch-testcontroller + install -m 755 ${UNPACKDIR}/openvswitch-switch ${D}/${sysconfdir}/init.d/openvswitch-switch true || rm -fr ${D}/${datadir}/${PN}/pki install -d ${D}/${sysconfdir}/sysconfig -- cgit v1.2.3-54-g00ecf