Disable building the qemu-guest-agent (binary + docs)
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
This commit is contained in:
parent
2fb093cfd6
commit
a21f577853
8
debian/rules
vendored
8
debian/rules
vendored
@ -35,6 +35,8 @@ endif
|
|||||||
config.status: configure
|
config.status: configure
|
||||||
dh_testdir
|
dh_testdir
|
||||||
# Add here commands to configure the package.
|
# Add here commands to configure the package.
|
||||||
|
|
||||||
|
# guest-agent is only required for guest systems
|
||||||
./configure --with-confsuffix="/kvm" --target-list=$(ARCH)-softmmu \
|
./configure --with-confsuffix="/kvm" --target-list=$(ARCH)-softmmu \
|
||||||
--prefix=/usr --datadir=/usr/share \
|
--prefix=/usr --datadir=/usr/share \
|
||||||
--docdir=/usr/share/doc/pve-qemu-kvm \
|
--docdir=/usr/share/doc/pve-qemu-kvm \
|
||||||
@ -43,7 +45,8 @@ config.status: configure
|
|||||||
--disable-smartcard --audio-drv-list="alsa" --enable-spice \
|
--disable-smartcard --audio-drv-list="alsa" --enable-spice \
|
||||||
--enable-usb-redir --enable-glusterfs --enable-libusb --disable-gtk \
|
--enable-usb-redir --enable-glusterfs --enable-libusb --disable-gtk \
|
||||||
--enable-xfsctl --enable-numa --disable-strip --enable-jemalloc \
|
--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
|
build: patch build-stamp
|
||||||
|
|
||||||
@ -108,9 +111,6 @@ install: build
|
|||||||
# remove Aplha files
|
# remove Aplha files
|
||||||
rm $(destdir)/usr/share/kvm/palcode-clipper
|
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
|
# 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/linux/
|
||||||
rm -Rf $(destdir)/usr/include
|
rm -Rf $(destdir)/usr/include
|
||||||
|
Loading…
Reference in New Issue
Block a user