summaryrefslogtreecommitdiffstats
path: root/src/build/buildpnor/genPnorImages.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/buildpnor/genPnorImages.pl')
-rwxr-xr-xsrc/build/buildpnor/genPnorImages.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/build/buildpnor/genPnorImages.pl b/src/build/buildpnor/genPnorImages.pl
index 9de7b3113..a25a0b148 100755
--- a/src/build/buildpnor/genPnorImages.pl
+++ b/src/build/buildpnor/genPnorImages.pl
@@ -269,8 +269,14 @@ if ($secureboot)
}
### Open POWER signing
+# In most cases this is desired, but do not override a value set by user
+if(!$ENV{'SB_KEEP_CACHE'})
+{
+ $ENV{'SB_KEEP_CACHE'} = "true";
+}
+
my $OPEN_SIGN_REQUEST=
- "SB_KEEP_CACHE=true $SIGNING_DIR/crtSignedContainer.sh --scratchDir $bin_dir ";
+ "$SIGNING_DIR/crtSignedContainer.sh --scratchDir $bin_dir ";
# By default key transition container is unused
my $OPEN_SIGN_KEY_TRANS_REQUEST = $OPEN_SIGN_REQUEST;
OpenPOWER on IntegriCloud