commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Debian GNU Mach packaging branch, master, updated. debian/2%1.3.99


From: Samuel Thibault
Subject: [SCM] Debian GNU Mach packaging branch, master, updated. debian/2%1.3.99.dfsg.git20110609-1-3-g1e3cfa5
Date: Thu, 28 Jul 2011 07:15:59 +0000

The following commit has been merged in the master branch:
commit 1e3cfa5745bb273478383f48e1a58a05aaf781a3
Author: Samuel Thibault <address@hidden>
Date:   Thu Jul 28 01:29:52 2011 +0200

    Update grub list on -dbg package install too
    
      * debian/rules: Add prerm, preinst, postrm, postinst to -dbg kernels too, 
to
        update grub list.

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 <address@hidden>  Sat, 02 Jul 2011 22:42:56 +0200
+ -- Samuel Thibault <address@hidden>  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
 

-- 
Debian GNU Mach packaging



reply via email to

[Prev in Thread] Current Thread [Next in Thread]