From 7be1cf1b26c9331cedbae5cd9e720d8049631e29 Mon Sep 17 00:00:00 2001 From: Boris Glimcher <36732377+glimchb@users.noreply.github.com> Date: Thu, 6 Jun 2024 19:00:44 -0400 Subject: [PATCH] fix(sztp): add `amd` also to generate script Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com> --- sztp/generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sztp/generate.sh b/sztp/generate.sh index 554013d..50d0f1c 100755 --- a/sztp/generate.sh +++ b/sztp/generate.sh @@ -38,7 +38,7 @@ cp ${MYTMPDIR}/sztpd-simulator/pki/client/end-entity/private_key.pem ./generated declare -a names -for vendor in nvidia intel marvell +for vendor in nvidia intel marvell amd do names+=("${vendor^^}_BOOT_IMG_HASH_VAL" "${vendor^^}_CONFIG_B64") export ${vendor^^}_BOOT_IMG_HASH_VAL=$(openssl dgst -sha256 -c ./images/${vendor,,}-boot-image.img | awk '{print $2}')