diff options
author | Dave Heller <hellerda@linux.vnet.ibm.com> | 2018-03-31 22:42:33 -0400 |
---|---|---|
committer | Dave Heller <hellerda@linux.vnet.ibm.com> | 2018-03-31 22:42:33 -0400 |
commit | 1665fe7b5301ab0bdf2ae2e55cbdfd315b3c7b3f (patch) | |
tree | ab6fb6747ac572b83395d88a86879a294c3e74e9 | |
parent | de0471d07ccb36a4e30827ee6e023d748c420bea (diff) | |
download | sb-signing-utils-1665fe7b5301ab0bdf2ae2e55cbdfd315b3c7b3f.tar.gz sb-signing-utils-1665fe7b5301ab0bdf2ae2e55cbdfd315b3c7b3f.zip |
Remove unused code to read properties directly from _defconfig
Signed-off-by: Dave Heller <hellerda@linux.vnet.ibm.com>
-rwxr-xr-x | crtSignedContainer.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/crtSignedContainer.sh b/crtSignedContainer.sh index 03ca76e..6ed6d62 100755 --- a/crtSignedContainer.sh +++ b/crtSignedContainer.sh @@ -292,21 +292,6 @@ do die "Required command \"$p\" not available or not found in PATH" done -# Process config properties from op-build _defconfig -test "$BR2_CONFIG" && source $BR2_CONFIG &> /dev/null -test "$BR2_OPENPOWER_SECUREBOOT_PASS_ON_VALIDATION_ERROR" && SB_PASS_ON_ERROR=Y - -# Determine if validate or verify has been requested via the _defconfig -if [ -z "$SB_VALIDATE" -a "$BR2_OPENPOWER_SECUREBOOT_CONTAINER_VALIDATE" ] -then - SB_VALIDATE="$BR2_OPENPOWER_SECUREBOOT_CONTAINER_VALIDATE" -fi - -if [ -z "$SB_VERIFY" -a "$BR2_OPENPOWER_SECUREBOOT_CONTAINER_VERIFY" ] -then - SB_VERIFY="$BR2_OPENPOWER_SECUREBOOT_CONTAINER_VERIFY" -fi - # These are the only env vars that override a command line option test "$SB_SIGN_MODE" && SIGN_MODE="$(to_lower "$SB_SIGN_MODE")" test "$SB_PROJECT_INI" && PROJECT_INI="$SB_PROJECT_INI" |