diff -Nru xfsprogs-4.2.0/debian/changelog xfsprogs-4.2.0.1/debian/changelog --- xfsprogs-4.2.0/debian/changelog 2015-09-11 01:51:36.000000000 +0000 +++ xfsprogs-4.2.0.1/debian/changelog 2015-11-10 16:35:45.000000000 +0000 @@ -1,3 +1,11 @@ +xfsprogs (4.2.0.1) unstable; urgency=low + + * NMU + * * Add a postinst to update the initramfs on install/upgrade. + (Closes: #804255) + + -- Steve McIntyre <93sam@xxxxxxxxxx> Tue, 10 Nov 2015 16:33:59 +0000 + xfsprogs (4.2.0) unstable; urgency=low * New upstream release diff -Nru xfsprogs-4.2.0/debian/postinst xfsprogs-4.2.0.1/debian/postinst --- xfsprogs-4.2.0/debian/postinst 1970-01-01 00:00:00.000000000 +0000 +++ xfsprogs-4.2.0.1/debian/postinst 2015-11-10 16:35:20.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