summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaymes Wilks <mjwilks@us.ibm.com>2018-03-14 20:27:17 -0500
committerJaymes Wilks <mjwilks@us.ibm.com>2018-03-14 20:27:17 -0500
commitd4e4ae6a327cc3962363724a673b03b7f3998e73 (patch)
tree1b1706946044bc6019809c220b815bd7e0974691
parentb210f15c69933e21494323a8f5017501e7b2c1de (diff)
downloadpnor-d4e4ae6a327cc3962363724a673b03b7f3998e73.tar.gz
pnor-d4e4ae6a327cc3962363724a673b03b7f3998e73.zip
Remove SIGNING_TOOL_EDITION environment variable setting
Removes signing environment variable setting from update_image.pl as it is no longer required.
-rwxr-xr-xupdate_image.pl9
1 files changed, 3 insertions, 6 deletions
diff --git a/update_image.pl b/update_image.pl
index e360949..be782df 100755
--- a/update_image.pl
+++ b/update_image.pl
@@ -292,8 +292,8 @@ sub processConvergedSections {
print "WARNING: MEMD partition is not found, including blank binary instead\n";
}
$sections{MEMD}{out} = "$scratch_dir/memd_extra_data.bin.ecc";
-
- # SMC COPY SAME ideas for hdat
+
+ # SMC COPY SAME ideas for hdat
if(-e $hdat_binary_filename)
{
$sections{HDAT}{in} = "$hdat_binary_filename";
@@ -358,7 +358,6 @@ sub processConvergedSections {
# Point to the location of the signing tools
$ENV{'DEV_KEY_DIR'}="$ENV{'HOST_DIR'}/etc/keys/";
$ENV{'SIGNING_DIR'} = "$ENV{'HOST_DIR'}/usr/bin/";
- $ENV{'SIGNING_TOOL_EDITION'} = "community";
# Determine whether to securely sign the images
my $securebootArg = $secureboot ? "--secureboot" : "";
@@ -382,8 +381,6 @@ sub processConvergedSections {
{
print STDOUT "SIGNING_DIR: " . $ENV{'SIGNING_DIR'} . "\n";
print STDOUT "DEV_KEY_DIR: " . $ENV{'DEV_KEY_DIR'} . "\n";
- print STDOUT "SIGNING_TOOL_EDITION: "
- . $ENV{'SIGNING_TOOL_EDITION'} . "\n";
}
run_command($cmd);
@@ -489,7 +486,7 @@ else
# Create blank binary file for ATTR_TMP partition
run_command("dd if=/dev/zero bs=28K count=1 | tr \"\\000\" \"\\377\" > $scratch_dir/hostboot.temp.bin");
run_command("ecc --inject $scratch_dir/hostboot.temp.bin --output $scratch_dir/attr_tmp.bin.ecc --p8");
-
+
# Create blank binary file for ATTR_PERM partition
run_command("dd if=/dev/zero bs=28K count=1 | tr \"\\000\" \"\\377\" > $scratch_dir/hostboot.temp.bin");
run_command("ecc --inject $scratch_dir/hostboot.temp.bin --output $scratch_dir/attr_perm.bin.ecc --p8");
OpenPOWER on IntegriCloud