[pve-devel] [PATCH qemu-kvm 2/2] Disable building the qemu-guest-agent (binary + docs)

Emmanuel Kasper e.kasper at proxmox.com
Tue Apr 11 12:29:28 CEST 2017


This fixes a conflict when installing the qemu-guest-agent debian
package, where our pve-qemu-kvm and the debian package both
tried to install the usr/share/man/man8/qemu-ga.8.gz file
---
 debian/rules | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 1d7d5c2..98637c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,8 @@ endif
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
+
+	# guest-agent is only required for guest systems
 	./configure --with-confsuffix="/kvm" --target-list=$(ARCH)-softmmu \
 	--prefix=/usr --datadir=/usr/share \
 	--docdir=/usr/share/doc/pve-qemu-kvm \
@@ -43,7 +45,8 @@ config.status: configure
 	--disable-smartcard --audio-drv-list="alsa" --enable-spice \
 	--enable-usb-redir --enable-glusterfs --enable-libusb --disable-gtk \
 	--enable-xfsctl --enable-numa --disable-strip --enable-jemalloc \
-	--enable-virtfs --disable-libnfs --disable-fdt
+	--enable-virtfs --disable-libnfs --disable-fdt \
+	--disable-guest-agent --disable-guest-agent-msi
 
 build: patch build-stamp
 
@@ -108,9 +111,6 @@ install: build
 	# remove Aplha files
 	rm $(destdir)/usr/share/kvm/palcode-clipper
 
-        # remove guest agent (that is only required for a guest)
-	rm $(destdir)/usr/bin/qemu-ga
-
 	# Remove things we don't package at all, would be a "kvm-dev" package
 	rm -Rf $(destdir)/usr/include/linux/
 	rm -Rf $(destdir)/usr/include
-- 
2.1.4





More information about the pve-devel mailing list