Skip to content

Commit

Permalink
scripts: dasharo-deploy: installation_workflow: fix downloading and
Browse files Browse the repository at this point in the history
verifying

Signed-off-by: Daniil Klimuk <[email protected]>
  • Loading branch information
DaniilKl committed Sep 30, 2024
1 parent 655f3c9 commit 8d55bcd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/dasharo-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -872,12 +872,13 @@ install_workflow() {
prepare_env install

# Download and verify firmware:
if [ "$CAN_INSTALL_BIOS" == "false" ]; then
if [ "$HAVE_EC" == "true" ]; then
download_ec
verify_artifacts ec
else
download_artifacts
verify_artifacts ec bios
fi
if [ "$CAN_INSTALL_BIOS" == "true" ]; then
download_bios
verify_artifacts bios
fi

# Ask user for confirmation:
Expand Down

0 comments on commit 8d55bcd

Please sign in to comment.