tag 566072 + patch
thanks

On Fri, 14 Jan 2011 20:48:38 +0000, Adam D. Barratt wrote:

> This appears to be due to the fact that the package build only invokes
> dh_installdebconf in the binary-indep target.  As a result the templates
> file intended to warn you about the contents of your fstab is only added
> to the package if a full build (i.e. arch:all and architecture-dependent
> packages) is being performed.
[..]
> I've verified that adding dh_installdebconf to the binary-arch target as
> well ensures that the templates are added both for a full and an
> arch-dep-binary-only build.

Hi LaMont,

for your convenience I've prepared a patch (attached) implementing
Adam's suggestion and verified that it works for both
arch-dep-binary-only and full builds.

(Since the bug was reopened only yesterday, I'm not uploading an NMU
right away.)

(Probably dh_installdebconf in binary-indep is not needed at all, but
it also doesn't hurt to keep it.)

Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Rod Stewart
diff -u util-linux-2.17.2/debian/rules util-linux-2.17.2/debian/rules
--- util-linux-2.17.2/debian/rules
+++ util-linux-2.17.2/debian/rules
@@ -177,7 +177,7 @@
 	dh_testdir -i
 	dh_testroot -i
 	dh_lintian -i
-	dh_installdebconf
+	dh_installdebconf -i
 	dh_installdeb -i
 	dh_gencontrol -i -- -VUpstream=$(Upstream)
 	dh_md5sums -i
@@ -188,6 +188,7 @@
 	dh_testdir -s
 	dh_testroot -s
 	dh_lintian -s
+	dh_installdebconf -s
 	dh_installinit -s -- defaults 15 85
 	[ -n "$(STRIP)" ] || dh_strip -s
 	dh_makeshlibs -s
diff -u util-linux-2.17.2/debian/changelog util-linux-2.17.2/debian/changelog
--- util-linux-2.17.2/debian/changelog
+++ util-linux-2.17.2/debian/changelog
@@ -1,3 +1,13 @@
+util-linux (2.17.2-6.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "fsck now failing hard for unavailable filesystems": add
+    dh_installdebconf to debian/rules binary-arch target, otherwise the
+    templates file doesn't get added for arch-dep-binary-only builds; thanks
+    to Adam D. Barratt for the analysis (closes: #566072).
+
+ -- gregor herrmann <gre...@debian.org>  Sat, 15 Jan 2011 14:51:43 +0100
+
 util-linux (2.17.2-6) unstable; urgency=low
 
   [Bjørn Steensrud]

Attachment: signature.asc
Description: Digital signature

Reply via email to