linux-image: Remove unnecessary debconf initialisations

Only the prerm and postrm scripts need it now.

Also remove the Pre-Depends relation to debconf.
This commit is contained in:
Ben Hutchings 2016-01-27 00:41:34 +00:00
parent daa4d23204
commit b34af3d32d
4 changed files with 1 additions and 8 deletions

1
debian/changelog vendored
View File

@ -17,6 +17,7 @@ linux (4.4-1~exp2) UNRELEASED; urgency=medium
[ Ben Hutchings ]
* linux-image: Make failure of depmod fatal, rather than asking what to do
* [mips*] linux-image: Remove debconf question for requirement of initramfs
* linux-image: Remove unnecessary debconf initialisations
-- Ian Campbell <ijc@debian.org> Sat, 23 Jan 2016 08:23:05 +0000

View File

@ -1,6 +1,5 @@
Package: linux-image-@abiname@@localversion@
Build-Profiles: <!stage1>
Pre-Depends: debconf | debconf-2.0
Depends: kmod, linux-base, ${misc:Depends}
Recommends: firmware-linux-free, ${kernel:Recommends}
Suggests: linux-doc-@version@, debian-kernel-handbook

View File

@ -3,10 +3,7 @@
use strict;
use warnings;
use Cwd 'abs_path';
use Debconf::Client::ConfModule qw(:all);
use POSIX ();
version('2.0');
my $capb = capb('backup', 'escape');
$|=1;

View File

@ -4,10 +4,6 @@ use strict;
use warnings;
use POSIX ();
use Debconf::Client::ConfModule qw(:all);
version('2.0');
my $capb=capb("backup");
$|=1;
# Predefined values: