Source: xen Version: 4.5.1~rc1-1 Severity: wishlist Tags: patch http://lists.alioth.debian.org/pipermail/pkg-xen-devel/2015-June/006206.html suggests that we are prone to "loosing" bugs as the package versions change since they include the Xen version.
To avoid this we can ship a reportbug control file to redirect those bugs to src:xen, which the attached patch does. I went with three separate debian/templates/FOO.bug dirs for each of the packages which contain the version number in the name, even though the contents is currently the same, in anticipation of that they may gain some differences in the future. I could of course trivially mrge those three directories into one if you prefer. I've also done git flow publish to populate the feature/reportbug branch in git. Note that this also contains two other changes which I needed to be able to build test against current sid: - Added upstream patch 3f82ea62826d4eb06002d8dba475bafcc454b845 "xen: common: Use unbounded array for symbols_offset" for FTBFS with gcc-5 - Update to linux-support-4.1.0-1 You may or may not want those, but I trust you can cherry-pick as you want. Cheers, Ian. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
>From 084b7cf56dd2ccfbf1c04796689222dac9d58ac6 Mon Sep 17 00:00:00 2001 From: Ian Campbell <i...@debian.org> Date: Fri, 21 Aug 2015 14:54:13 +0100 Subject: [PATCH] Include a reportbug control file to redirect bugs to src:xen --- debian/changelog | 8 ++++++++ debian/rules.real | 6 +++++- debian/templates/libxen.bug/control | 1 + debian/templates/xen-hypervisor.bug/control | 1 + debian/templates/xen-utils.bug/control | 1 + 5 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 debian/templates/libxen.bug/control create mode 100644 debian/templates/xen-hypervisor.bug/control create mode 100644 debian/templates/xen-utils.bug/control diff --git a/debian/changelog b/debian/changelog index 70be498..59c261d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +xen (4.5.1~rc1-2) UNRELEASED; urgency=medium + + [ Ian Campbell ] + * Include a reportbug control file to redirect bugs to src:xen for + packages which contain the Xen version in the name. + + -- Ian Campbell <i...@debian.org> Fri, 21 Aug 2015 14:53:26 +0100 + xen (4.5.1~rc1-1) experimental; urgency=medium [ Ian Campbell ] diff --git a/debian/rules.real b/debian/rules.real index 7ff231c..bab109a 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -152,6 +152,7 @@ install-hypervisor_$(ARCH)_$(FLAVOUR): $(STAMPS_DIR)/build-hypervisor_$(ARCH)_$( dh_testroot dh_prep dh_installdirs boot + dh_install debian/templates/xen-hypervisor.bug/* usr/share/bug/$(PACKAGE_NAME) cp $(DIR)/xen/xen$(IMAGE_SUFFIX) debian/$(PACKAGE_NAME)/boot/xen-$(VERSION)-$(FLAVOUR)$(IMAGE_SUFFIX) ifeq ($(ARCH),amd64) cp $(DIR)/xen/xen.efi debian/$(PACKAGE_NAME)/boot/xen-$(VERSION)-$(FLAVOUR).efi @@ -159,12 +160,14 @@ endif +$(MAKE_SELF) install-base install-libxen_$(ARCH): DIR = $(BUILD_DIR)/install-utils_$(ARCH) -install-libxen_$(ARCH): DH_OPTIONS = -plibxen-$(VERSION) +install-libxen_$(ARCH): PACKAGE_NAME = libxen-$(VERSION) +install-libxen_$(ARCH): DH_OPTIONS = -p$(PACKAGE_NAME) install-libxen_$(ARCH): $(STAMPS_DIR)/install-utils_$(ARCH) install-libxenstore_$(ARCH) dh_testdir dh_testroot dh_prep dh_install --sourcedir=$(DIR) usr/lib/*/lib*-$(VERSION).so + dh_install debian/templates/libxen.bug/* usr/share/bug/$(PACKAGE_NAME) dh_strip dh_makeshlibs -V dh_shlibdeps @@ -207,6 +210,7 @@ install-utils_$(ARCH): $(STAMPS_DIR)/install-utils_$(ARCH) install-libxen_$(ARCH install -D -m644 debian/xen-utils.NEWS $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/NEWS install -D -m644 debian/xen-utils.README.Debian $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/README.Debian dh_install --sourcedir=$(DIR) usr/lib/xen-$(VERSION) + dh_install debian/templates/xen-utils.bug/* usr/share/bug/$(PACKAGE_NAME) dh_lintian ( echo -n "misc:Built-Using="; dpkg-query -f='$${source:Package} (= $${source:Version}), ' -W ipxe-qemu seabios; echo ) >> debian/$(PACKAGE_NAME).substvars dh_python2 -V$(shell pyversions -rv) /usr/lib/xen-$(VERSION) diff --git a/debian/templates/libxen.bug/control b/debian/templates/libxen.bug/control new file mode 100644 index 0000000..3e21b39 --- /dev/null +++ b/debian/templates/libxen.bug/control @@ -0,0 +1 @@ +Submit-As: src:xen diff --git a/debian/templates/xen-hypervisor.bug/control b/debian/templates/xen-hypervisor.bug/control new file mode 100644 index 0000000..3e21b39 --- /dev/null +++ b/debian/templates/xen-hypervisor.bug/control @@ -0,0 +1 @@ +Submit-As: src:xen diff --git a/debian/templates/xen-utils.bug/control b/debian/templates/xen-utils.bug/control new file mode 100644 index 0000000..3e21b39 --- /dev/null +++ b/debian/templates/xen-utils.bug/control @@ -0,0 +1 @@ +Submit-As: src:xen -- 2.1.4