From: Wang Mingyu <[email protected]>

Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in 
preparation for changing the default value of UNPACKDIR.

Signed-off-by: Wang Mingyu <[email protected]>
---
 recipes-networking/openvswitch/openvswitch.inc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8800): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8800
Mute This Topic: https://lists.yoctoproject.org/mt/106717041/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to