Skip to content

Commit

Permalink
fix(sztp): add amd also to generate script
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb authored Jun 6, 2024
1 parent 5b8237a commit 7be1cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sztp/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}')
Expand Down

0 comments on commit 7be1cf1

Please sign in to comment.