]> git.proxmox.com Git - pve-qemu.git/commitdiff
Disable building the qemu-guest-agent (binary + docs)
authorEmmanuel Kasper <e.kasper@proxmox.com>
Tue, 11 Apr 2017 10:29:28 +0000 (12:29 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 11 Apr 2017 10:57:17 +0000 (12:57 +0200)
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

index 1d7d5c235f5d292ee648668c54480a7dcd609b62..98637c73ce02aa6199df90cdc11f59bc1171c7dd 100755 (executable)
@@ -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