summary refs log tree commit diff
path: root/gnu/local.mk
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2021-10-23 12:03:18 +0200
committerLudovic Courtès <ludo@gnu.org>2021-10-30 19:16:23 +0200
commit142344b6efa42e1a4d57a4bdf14dfb3ca1cba25a (patch)
tree5d73df026c0e08e2c1d2e0a898e12c6b3bb29d50 /gnu/local.mk
parentf8d3c98162910b3d715c93f73ae9e7d278de6840 (diff)
downloadguix-142344b6efa42e1a4d57a4bdf14dfb3ca1cba25a.tar.gz
gnu: qemu: Add Guix support to QEMU guest agent.
QEMU guest agent hardcodes paths to /sbin/hwclock and /sbin/shutdown. Patch
the source to try binaries under /run/current-system/profile/sbin first.

* gnu/packages/patches/qemu-fix-agent-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register the patch.
* gnu/packages/virtualization.scm (qemu)[origin]: Apply it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/local.mk')
-rw-r--r--gnu/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 3a849ed2b0..baba6be058 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1707,6 +1707,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/qemu-CVE-2021-20203.patch		\
   %D%/packages/patches/qemu-glibc-2.27.patch 			\
   %D%/packages/patches/qemu-glibc-2.30.patch 			\
+  %D%/packages/patches/qemu-fix-agent-paths.patch 		\
   %D%/packages/patches/qpdfview-qt515-compat.patch		\
   %D%/packages/patches/qrcodegen-cpp-make-install.patch		\
   %D%/packages/patches/qt4-ldflags.patch			\