commit:     88557686e5382ac1e164f61c72bb63a7a076a240
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 09:26:12 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 09:31:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88557686

app-containers/lxd: fix finding virtfs-proxy-helper, again

 - the code has been divided amongst different files.

Closes: https://bugs.gentoo.org/798924
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-containers/lxd/{lxd-4.0.9-r2.ebuild => lxd-4.0.9-r3.ebuild} | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app-containers/lxd/lxd-4.0.9-r2.ebuild 
b/app-containers/lxd/lxd-4.0.9-r3.ebuild
similarity index 95%
rename from app-containers/lxd/lxd-4.0.9-r2.ebuild
rename to app-containers/lxd/lxd-4.0.9-r3.ebuild
index 07794400df85..aee451bed561 100644
--- a/app-containers/lxd/lxd-4.0.9-r2.ebuild
+++ b/app-containers/lxd/lxd-4.0.9-r3.ebuild
@@ -99,6 +99,11 @@ src_prepare() {
                lxd/apparmor/instance_qemu.go \
                lxd/instance/drivers/driver_qemu.go || die "Failed to fix 
hardcoded ovmf paths."
 
+       # Fix hardcoded virtfs-proxy-helper file path, see bug 798924
+       sed -i \
+               -e 
"s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
+               lxd/device/device_utils_disk.go || die "Failed to fix 
virtfs-proxy-helper path."
+
        cp "${FILESDIR}"/lxd-4.0.9-r1.service "${T}"/lxd.service || die
        if use apparmor; then
                sed -i \

Reply via email to