]> git.proxmox.com Git - pve-qemu.git/commitdiff
buildsys: auto-generate dbgsym package
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 May 2023 11:51:22 +0000 (13:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 May 2023 13:09:14 +0000 (15:09 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
debian/control
debian/rules

index 0860768fee270805e513df729d08359715de9311..366bfe740fb5724625f372c6236490c4dcffe8b6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ GITVERSION := $(shell git rev-parse HEAD)
 
 DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
 DEB = $(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_$(DEB_BUILD_ARCH).deb
-DEB_DBG = $(PACKAGE)-dbg_$(DEB_VERSION_UPSTREAM_REVISION)_$(DEB_BUILD_ARCH).deb
+DEB_DBG = $(PACKAGE)-dbgsym_$(DEB_VERSION_UPSTREAM_REVISION)_$(DEB_BUILD_ARCH).deb
 DEBS = $(DEB) $(DEB_DBG)
 
 all: $(DEBS)
index 412ecb4ad4eed935596cf83a9d69b1e6a15dcbd6..f5ae10cb323126079ccaf9e0d03aa00547d82822 100644 (file)
@@ -86,10 +86,3 @@ Description: Full virtualization on x86 hardware
  Using KVM, one can run multiple virtual PCs, each running unmodified Linux or
  Windows images. Each virtual machine has private virtualized hardware: a
  network card, disk, graphics adapter, etc.
-
-Package: pve-qemu-kvm-dbg
-Architecture: any
-Section: debug
-Depends: pve-qemu-kvm (= ${binary:Version}),
-Description: pve qemu debugging symbols
- This package contains the debugging symbols for pve-qemu-kvm.
index fba0cb80c4f4db828fe43904d9790c2b676529cc..09323f2905b6afdf3ff1eb09bb983cdc69e8cbd4 100755 (executable)
@@ -156,7 +156,7 @@ binary-arch: build install
 #      dh_installinfo
        dh_installman
        dh_link
-       dh_strip --dbg-package=pve-qemu-kvm-dbg
+       dh_strip --dbgsym-migration='pve-qemu-kvm-dbg (<<8.0.0-1~)'
        dh_compress
        dh_fixperms
 #      dh_perl