[linux] 06/08: linux-image: Remove unnecessary debconf initialisations
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Wed Jan 27 19:54:58 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 b34af3d32dca4b7244d06edecb44d91121838991
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Wed Jan 27 00:41:34 2016 +0000
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 e855d22..0802214 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 <ijc at debian.org> Sat, 23 Jan 2016 08:23:05 +0000
diff --git a/debian/templates/control.image.in b/debian/templates/control.image.in
index 9d7b6fb..3dfaf3b 100644
--- a/debian/templates/control.image.in
+++ b/debian/templates/control.image.in
@@ -1,6 +1,5 @@
Package: linux-image- at 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- at version@, debian-kernel-handbook
diff --git a/debian/templates/image.postinst.in b/debian/templates/image.postinst.in
index 51a6084..e3b1a02 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 0d0916f..891689e 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:
--
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