diff options
Diffstat (limited to 'src/build/buildpnor/genPnorImages.pl')
-rwxr-xr-x | src/build/buildpnor/genPnorImages.pl | 8 |
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; |