summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog4
-rwxr-xr-xdebian/rules16
2 files changed, 11 insertions, 9 deletions
diff --git a/debian/changelog b/debian/changelog
index 58a1791..319551b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,10 @@ gnumach (2:1.3.99.dfsg.git20110609-2) UNRELEASED; urgency=low
* debian/control: build udebs on hurd-i386 only.
* debian/patches/13_ide_dma.patch: Do not stop DMA before reading its
status.
+ * debian/rules: Add prerm, preinst, postrm, postinst to -dbg kernels too, to
+ update grub list.
- -- Samuel Thibault <sthibault@debian.org> Sat, 02 Jul 2011 22:42:56 +0200
+ -- Samuel Thibault <sthibault@debian.org> Thu, 28 Jul 2011 01:18:11 +0200
gnumach (2:1.3.99.dfsg.git20110609-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 8d31fa4..307567f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -168,14 +168,14 @@ install: build
ifeq ($(DEB_HOST_ARCH_OS),hurd)
for script in preinst prerm postinst postrm ; do \
- sed -e "s/@VERSION@/$(VERSION)/g" \
- -e "s/@RELEASE@/$(VERSION)-$(MACHINE)/g" \
- debian/gnumach-image.$$script.in \
- > debian/gnumach-image-$(VERSION)-$(MACHINE).$$script ; \
- sed -e "s/@VERSION@/$(VERSION)/g" \
- -e "s/@RELEASE@/$(VERSION)-xen-$(MACHINE)/g" \
- debian/gnumach-image.$$script.in \
- > debian/gnumach-image-$(VERSION)-xen-$(MACHINE).$$script ; \
+ for prefix in "" -xen ; do \
+ for suffix in "" -dbg ; do \
+ sed -e "s/@VERSION@/$(VERSION)/g" \
+ -e "s/@RELEASE@/$(VERSION)$$prefix-$(MACHINE)$$suffix/g" \
+ debian/gnumach-image.$$script.in \
+ > debian/gnumach-image-$(VERSION)$$prefix-$(MACHINE)$$suffix.$$script ; \
+ done ; \
+ done ; \
done
endif