Skip to content

Commit ddafc4c

Browse files
committed
scripts: dasharo-deploy: installation_workflow: fix downloading and
verifying Signed-off-by: Daniil Klimuk <[email protected]>
1 parent 50ed8f1 commit ddafc4c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

scripts/dasharo-deploy

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -872,12 +872,13 @@ install_workflow() {
872872
prepare_env install
873873

874874
# Download and verify firmware:
875-
if [ "$CAN_INSTALL_BIOS" == "false" ]; then
875+
if [ "$HAVE_EC" == "true" ]; then
876876
download_ec
877877
verify_artifacts ec
878-
else
879-
download_artifacts
880-
verify_artifacts ec bios
878+
fi
879+
if [ "$CAN_INSTALL_BIOS" == "true" ]; then
880+
download_bios
881+
verify_artifacts bios
881882
fi
882883

883884
# Ask user for confirmation:

0 commit comments

Comments
 (0)