Skip to content

Commit

Permalink
scripts: dasharo-deploy: got to handle_fw_switching in case of Heads
Browse files Browse the repository at this point in the history
Signed-off-by: Daniil Klimuk <[email protected]>
  • Loading branch information
DaniilKl committed Nov 20, 2024
1 parent 472ab6f commit fd823a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/dasharo-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -986,10 +986,10 @@ update_workflow() {
# TODO: Why do we separate Heads firmware-related code from other code? A
# common way to handle this should be found.
#
# Versions should be compared in case we are not switching to Heads, because
# heads version is not set at this moment, it is being set and compared in
# handle_fw_switching:
if [ "$CAN_SWITCH_TO_HEADS" = "true" ]; then
# Versions should be compared only in case we are not switching to Heads,
# because heads version is not set at this moment, it is being set and
# compared in handle_fw_switching:
if [ "$CAN_SWITCH_TO_HEADS" = "true" ] || [ "$DASHARO_FLAVOR" == "Dasharo (coreboot+heads)" ]; then
handle_fw_switching $CAN_SWITCH_TO_HEADS
else
compare_versions $DASHARO_VERSION $UPDATE_VERSION
Expand Down

0 comments on commit fd823a9

Please sign in to comment.