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-containers/lxc/lxc_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-containers/lxc/lxc_git.bb 
b/recipes-containers/lxc/lxc_git.bb
index ee0e442f..550f910e 100644
--- a/recipes-containers/lxc/lxc_git.bb
+++ b/recipes-containers/lxc/lxc_git.bb
@@ -161,12 +161,12 @@ do_install:append() {
        # /etc/default/lxc sources lxc-net, this allows lxc bridge when 
lxc-networking
        # is not installed this results in no lxcbr0, but when lxc-networking 
is installed
        # lxcbr0 will be fully configured.
-       install -m 644 ${WORKDIR}/lxc-net ${D}${sysconfdir}/default/
+       install -m 644 ${UNPACKDIR}/lxc-net ${D}${sysconfdir}/default/
 
        # Force the main dnsmasq instance to bind only to specified interfaces 
and
        # to not bind to virbr0. Libvirt will run its own instance on this 
interface.
        install -d ${D}/${sysconfdir}/dnsmasq.d
-       install -m 644 ${WORKDIR}/dnsmasq.conf ${D}/${sysconfdir}/dnsmasq.d/lxc
+       install -m 644 ${UNPACKDIR}/dnsmasq.conf 
${D}/${sysconfdir}/dnsmasq.d/lxc
 }
 
 EXTRA_OEMAKE += "TEST_DIR=${D}${PTEST_PATH}/src/tests"
-- 
2.34.1

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

Reply via email to