On Fri, Nov 06, 2015 at 03:24:02PM +0100, Felix Zielcke wrote:
>Please make a NMU. 
>I won't be able to do an upload soon

Done, here's the debdiff.

-- 
Steve McIntyre, Cambridge, UK.                                st...@einval.com
"I suspect most samba developers are already technically insane... Of
 course, since many of them are Australians, you can't tell." -- Linus Torvalds
diff -Nru reiser4progs-1.1.0/debian/changelog 
reiser4progs-1.1.0/debian/changelog
--- reiser4progs-1.1.0/debian/changelog 2015-09-02 19:48:36.000000000 +0000
+++ reiser4progs-1.1.0/debian/changelog 2015-11-06 16:37:09.000000000 +0000
@@ -1,3 +1,11 @@
+reiser4progs (1.1.0-1.1) unstable; urgency=medium
+
+  * NMU
+  * Add a postinst to update the initramfs on install/upgrade.
+    (Closes: #804245)
+
+ -- Steve McIntyre <93...@debian.org>  Fri, 06 Nov 2015 16:37:42 +0000
+
 reiser4progs (1.1.0-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru reiser4progs-1.1.0/debian/reiser4progs.postinst 
reiser4progs-1.1.0/debian/reiser4progs.postinst
--- reiser4progs-1.1.0/debian/reiser4progs.postinst     1970-01-01 
00:00:00.000000000 +0000
+++ reiser4progs-1.1.0/debian/reiser4progs.postinst     2015-11-06 
16:37:42.000000000 +0000
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+       configure)
+               if [ -x /usr/sbin/update-initramfs ] && [ -e 
/etc/initramfs-tools/initramfs.conf ]
+               then
+                       update-initramfs -u
+               fi
+               ;;
+
+       abort-upgrade|abort-remove|abort-deconfigure)
+
+               ;;
+
+       *)
+               echo "postinst called with unknown argument \`${1}'" >&2
+               exit 1
+               ;;
+esac
+
+#DEBHELPER#
+
+exit 0

Reply via email to