d/rules: build virtiofsd

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-02-24 16:25:23 +01:00
parent 8e231fbe8d
commit 448136958e

5
debian/rules vendored
View File

@ -49,6 +49,7 @@ ${BUILDDIR}/config.status: configure
--with-pkgversion="${DEB_SOURCE}_${DEB_VERSION_UPSTREAM}" \ --with-pkgversion="${DEB_SOURCE}_${DEB_VERSION_UPSTREAM}" \
--audio-drv-list="alsa" \ --audio-drv-list="alsa" \
--datadir=/usr/share \ --datadir=/usr/share \
--libexecdir=/usr/lib/kvm \
--disable-capstone \ --disable-capstone \
--disable-gtk \ --disable-gtk \
--disable-guest-agent \ --disable-guest-agent \
@ -72,6 +73,7 @@ ${BUILDDIR}/config.status: configure
--enable-spice \ --enable-spice \
--enable-usb-redir \ --enable-usb-redir \
--enable-virtfs \ --enable-virtfs \
--enable-virtiofsd \
--enable-xfsctl --enable-xfsctl
build: build-stamp build: build-stamp
@ -131,7 +133,8 @@ install: build
# 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
rm -Rf $(destdir)/usr/lib* rm -f $(destdir)/usr/lib/kvm/qemu-bridge-helper
rm -f $(destdir)/usr/lib/kvm/virtfs-proxy-helper
# CPU flags are static for QEMU version, allows avoiding more costly checks # CPU flags are static for QEMU version, allows avoiding more costly checks
$(destdir)/usr/bin/qemu-system-x86_64 -cpu help | ./debian/parse-cpu-flags.pl > $(flagfile) $(destdir)/usr/bin/qemu-system-x86_64 -cpu help | ./debian/parse-cpu-flags.pl > $(flagfile)