aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagadeesh Ujja <jagadeesh.ujja@arm.com>2019-03-05 23:01:20 +0530
committerThomas Panakamattam Abraham <thomas.abraham@arm.com>2019-03-05 17:37:34 +0000
commit62fee5e0a90bb861b1a04d20e88d2276cf264f5e (patch)
tree5a522c7816cbc741ea8d0686d2e65d6a971f6186
parente9fe5947e9cfe027f3c9446e442d92acc2560a58 (diff)
sgi/build-test-secureboot: remove copying the prebuilt nor flash
It is not required to copy prebuilt nor flash image into prebuilt folder as this can be done during the execute phase. Change-Id: I35085e346bdd6e90cd55d1469d1c6dbf1e64850e Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>
-rwxr-xr-xsgi/build-test-secureboot.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/sgi/build-test-secureboot.sh b/sgi/build-test-secureboot.sh
index e5cc971..1c6b58f 100755
--- a/sgi/build-test-secureboot.sh
+++ b/sgi/build-test-secureboot.sh
@@ -209,9 +209,8 @@ prepare_disk_image ()
[ ! -f $TOP_DIR/prebuilts/refinfra/secure_boot/DB.der ] ||
[ ! -f $TOP_DIR/prebuilts/refinfra/secure_boot/DB.crt ] ||
[ ! -f $TOP_DIR/prebuilts/refinfra/secure_boot/DB.key ] ||
- [ ! -f $TOP_DIR/prebuilts/refinfra/secure_boot/DBX.der ] ||
- [ ! -f $TOP_DIR/prebuilts/refinfra/secure_boot/nor2_flash.img ]; then
- echo "[ERROR] pre-built sercure keys and/or NOR flash image not found!"
+ [ ! -f $TOP_DIR/prebuilts/refinfra/secure_boot/DBX.der ]; then
+ echo "[ERROR] pre-built sercure keys not found!"
exit 1;
fi
echo "[INFO] Using PK, KEK, DB and DBX from prebuilts..."
@@ -221,7 +220,6 @@ prepare_disk_image ()
cp $TOP_DIR/prebuilts/refinfra/secure_boot/DB.crt $TOP_DIR/tools/efitools/DB.crt
cp $TOP_DIR/prebuilts/refinfra/secure_boot/DB.key $TOP_DIR/tools/efitools/DB.key
cp $TOP_DIR/prebuilts/refinfra/secure_boot/DBX.der $TOP_DIR/tools/efitools/DBX.der
- cp $TOP_DIR/prebuilts/refinfra/secure_boot/nor2_flash.img ${TOP_DIR}/model-scripts/$refinfra/platforms/$SGI_PLATFORM/nor2_flash.img
fi
#Sign the grub image and copy back the Signed image