Skip to content

Commit

Permalink
fix(sztp): move configurations to folder
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
  • Loading branch information
glimchb committed Jun 6, 2024
1 parent b156425 commit 16d578c
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion sztp/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ for vendor in nvidia intel marvell
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}')
export ${vendor^^}_CONFIG_B64=$(openssl enc -base64 -A -in ${vendor,,}-configuration.xml)
export ${vendor^^}_CONFIG_B64=$(openssl enc -base64 -A -in ./config/${vendor,,}-configuration.xml)
for item in pre post
do
names+=("${vendor^^}_PRE_SCRIPT_B64" "${vendor^^}_POST_SCRIPT_B64")
Expand Down

0 comments on commit 16d578c

Please sign in to comment.