From b34af3d32dca4b7244d06edecb44d91121838991 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Wed, 27 Jan 2016 00:41:34 +0000 Subject: [PATCH] linux-image: Remove unnecessary debconf initialisations Only the prerm and postrm scripts need it now. Also remove the Pre-Depends relation to debconf. --- debian/changelog | 1 + debian/templates/control.image.in | 1 - debian/templates/image.postinst.in | 3 --- debian/templates/image.preinst.in | 4 ---- 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/debian/changelog b/debian/changelog index e855d2226..0802214ce 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Sat, 23 Jan 2016 08:23:05 +0000 diff --git a/debian/templates/control.image.in b/debian/templates/control.image.in index 9d7b6fba1..3dfaf3b91 100644 --- a/debian/templates/control.image.in +++ b/debian/templates/control.image.in @@ -1,6 +1,5 @@ Package: linux-image-@abiname@@localversion@ Build-Profiles: -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 diff --git a/debian/templates/image.postinst.in b/debian/templates/image.postinst.in index 51a6084dc..e3b1a02d9 100755 --- a/debian/templates/image.postinst.in +++ b/debian/templates/image.postinst.in @@ -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; diff --git a/debian/templates/image.preinst.in b/debian/templates/image.preinst.in index 0d0916f5a..891689e26 100755 --- a/debian/templates/image.preinst.in +++ b/debian/templates/image.preinst.in @@ -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: