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.
This commit is contained in:
Ben Hutchings 2016-05-26 22:55:58 +01:00
parent ace08191f9
commit 30ae9b2024
5 changed files with 1 additions and 12 deletions

1
debian/changelog vendored
View File

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

View File

@ -496,9 +496,6 @@ else {
}
}
# set the env var stem
$ENV{'STEM'} = "linux";
sub run_hook {
my $type = shift;
my $script = shift;

View File

@ -144,9 +144,6 @@ sub image_magic {
}
}
# set the env var stem
$ENV{'STEM'} = "linux";
sub system_failure_message {
if ($? < 0) {
return "$!";

View File

@ -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 "$!";

View File

@ -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 "$!";