[linux] 04/08: linux-image: Add workaround for bug #817083 in debconf
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Fri May 27 13:53:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository linux.
commit b621344bd9cea67de7145d2d4067f6b84ab3130b
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu May 26 23:08:51 2016 +0100
linux-image: Add workaround for bug #817083 in debconf
---
debian/changelog | 1 +
debian/templates/image.postinst.in | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f31b6e3..7202441 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,7 @@ linux (4.6-1~exp2) UNRELEASED; urgency=medium
linux-libc-dev and tools packages (Closes: #825024; thanks to YunQiang Su)
* [mips*/*-malta] udeb: Add ata-modules package
* linux-image: Stop setting $STEM in environment for maintainer script hooks
+ * linux-image: Add workaround for bug #817083 in debconf
[ Aurelien Jarno ]
* [mips64{,el}] Set CPU to MIPS64 R2.
diff --git a/debian/templates/image.postinst.in b/debian/templates/image.postinst.in
index c1d56d6..00b488e 100755
--- a/debian/templates/image.postinst.in
+++ b/debian/templates/image.postinst.in
@@ -5,6 +5,13 @@ use warnings;
use Cwd 'abs_path';
use POSIX ();
+# Workaround for bug #817083 - ensure debconf template is loaded now
+# so we can use it in prerm script.
+{
+ use Debconf::Client::ConfModule qw(:all);
+ version('2.0');
+}
+
$|=1;
# Predefined values:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list