linux-image: Add workaround for bug #817083 in debconf

This commit is contained in:
Ben Hutchings 2016-05-26 23:08:51 +01:00
parent 30ae9b2024
commit b621344bd9
2 changed files with 8 additions and 0 deletions

1
debian/changelog vendored
View File

@ -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.

View File

@ -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: