fix qemu PKGVERSION

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-07-02 13:32:06 +02:00
parent 3c99120036
commit 1024d89400
2 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,6 @@ $(BUILDDIR): keycodemapdb | submodule
rm -rf $(BUILDDIR)/ui/keycodemapdb rm -rf $(BUILDDIR)/ui/keycodemapdb
cp -a keycodemapdb $(BUILDDIR)/ui/ cp -a keycodemapdb $(BUILDDIR)/ui/
echo "git clone git://git.proxmox.com/git/pve-qemu.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR)/debian/SOURCE echo "git clone git://git.proxmox.com/git/pve-qemu.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR)/debian/SOURCE
# set package version
sed -i 's/^pkgversion="".*/pkgversion="${PACKAGE}_${KVMVER}-${KVMPKGREL}"/' $(BUILDDIR)/configure
.PHONY: deb kvm .PHONY: deb kvm
deb kvm: $(DEBS) deb kvm: $(DEBS)

2
debian/rules vendored
View File

@ -9,6 +9,7 @@
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1 #export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
# These are used for cross-compiling and for saving the configure script # These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already) # from having to guess our platform (since we know it already)
@ -40,6 +41,7 @@ config.status: configure
--sysconfdir=/etc \ --sysconfdir=/etc \
--target-list=$(ARCH)-softmmu,aarch64-softmmu \ --target-list=$(ARCH)-softmmu,aarch64-softmmu \
--with-confsuffix="/kvm" \ --with-confsuffix="/kvm" \
--with-pkgversion="${DEB_SOURCE}_${DEB_VERSION_UPSTREAM}" \
--audio-drv-list="alsa" \ --audio-drv-list="alsa" \
--datadir=/usr/share \ --datadir=/usr/share \
--disable-capstone \ --disable-capstone \