From 1665fe7b5301ab0bdf2ae2e55cbdfd315b3c7b3f Mon Sep 17 00:00:00 2001 From: Dave Heller Date: Sat, 31 Mar 2018 22:42:33 -0400 Subject: Remove unused code to read properties directly from _defconfig Signed-off-by: Dave Heller --- crtSignedContainer.sh | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'crtSignedContainer.sh') 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" -- cgit v1.2.1