[linux] 03/08: linux-image: Stop setting $STEM in environment for maintainer script hooks

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 30ae9b2024442acc296ce08ca17fd1040677ec5e
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Thu May 26 22:55:58 2016 +0100

    linux-image: Stop setting $STEM in environment for maintainer script hooks
    
    This seems to have been a transitional feature for the switch
    from kernel-image to linux-image.  mkvmlinuz still uses it but
    no hook scripts appear to depend on it.
---
 debian/changelog                   | 1 +
 debian/templates/image.postinst.in | 3 ---
 debian/templates/image.postrm.in   | 3 ---
 debian/templates/image.preinst.in  | 3 ---
 debian/templates/image.prerm.in    | 3 ---
 5 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7d6ea49..f31b6e3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ linux (4.6-1~exp2) UNRELEASED; urgency=medium
   * [mips{,64}r6{,el}] Add kernel flavours for the Malta platform; build
     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
 
   [ Aurelien Jarno ]
   * [mips64{,el}] Set CPU to MIPS64 R2.
diff --git a/debian/templates/image.postinst.in b/debian/templates/image.postinst.in
index fd8ed78..c1d56d6 100755
--- a/debian/templates/image.postinst.in
+++ b/debian/templates/image.postinst.in
@@ -496,9 +496,6 @@ else {
   }
 }
 
-# set the env var stem
-$ENV{'STEM'} = "linux";
-
 sub run_hook {
   my $type   = shift;
   my $script = shift;
diff --git a/debian/templates/image.postrm.in b/debian/templates/image.postrm.in
index 1530c58..45fbf8e 100755
--- a/debian/templates/image.postrm.in
+++ b/debian/templates/image.postrm.in
@@ -144,9 +144,6 @@ sub image_magic {
   }
 }
 
-# set the env var stem
-$ENV{'STEM'} = "linux";
-
 sub system_failure_message {
   if ($? < 0) {
     return "$!";
diff --git a/debian/templates/image.preinst.in b/debian/templates/image.preinst.in
index 6beee56..81bc691 100755
--- a/debian/templates/image.preinst.in
+++ b/debian/templates/image.preinst.in
@@ -36,9 +36,6 @@ if (-r "$CONF_LOC" && -f "$CONF_LOC"  ) {
   }
 }
 
-# set the env var stem
-$ENV{'STEM'} = "linux";
-
 sub system_failure_message {
   if ($? < 0) {
     return "$!";
diff --git a/debian/templates/image.prerm.in b/debian/templates/image.prerm.in
index 5f2ee67..46c709d 100755
--- a/debian/templates/image.prerm.in
+++ b/debian/templates/image.prerm.in
@@ -81,9 +81,6 @@ if ($running eq $version) {
 
 chdir("/") or die "could not chdir to /:$!\n";
 
-# set the env var stem
-$ENV{'STEM'} = "linux";
-
 sub system_failure_message {
   if ($? < 0) {
     return "$!";

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