From 979ea01705259ea410690c93ce3805e7a9959db9 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 28 Jul 2011 01:29:52 +0200 Subject: Update grub list on -dbg package install too * debian/rules: Add prerm, preinst, postrm, postinst to -dbg kernels too, to update grub list. --- debian/changelog | 4 +++- debian/rules | 16 ++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) (limited to 'debian') 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 Sat, 02 Jul 2011 22:42:56 +0200 + -- Samuel Thibault 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 -- cgit v1.2.3