diff options
author | Timotej Lazar <timotej.lazar@araneo.si> | 2021-10-23 12:03:18 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-10-30 19:16:23 +0200 |
commit | 142344b6efa42e1a4d57a4bdf14dfb3ca1cba25a (patch) | |
tree | 5d73df026c0e08e2c1d2e0a898e12c6b3bb29d50 /gnu/packages/virtualization.scm | |
parent | f8d3c98162910b3d715c93f73ae9e7d278de6840 (diff) | |
download | guix-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/packages/virtualization.scm')
-rw-r--r-- | gnu/packages/virtualization.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 15040d65a8..7da6345c63 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -159,7 +159,8 @@ (base32 "15iw7982g6vc4jy1l9kk1z9sl5bm1bdbwr74y7nvwjs1nffhig7f")) (patches (search-patches "qemu-CVE-2021-20203.patch" - "qemu-build-info-manual.patch")) + "qemu-build-info-manual.patch" + "qemu-fix-agent-paths.patch")) (modules '((guix build utils))) (snippet '(begin |