Skip to content
Snippets Groups Projects

Improve options for factory update

Merged Michal Hrusecky requested to merge factory-update into master
1 unresolved thread

Make sure update-factory doesn't reinstall the same image as was used the last time and make it easy to get a version of factory image for easier comparison.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
983 983 update-factory)
984 984 get_board
985 985 if [ "$BOARD" != schnapps ]; then
986 import_sn -f "https://repo.turris.cz/hbs/medkit/$BOARD-medkit-latest.tar.gz"
986 old_hash="$(cat "$TMP_MNT_DIR/@factory/.image_hash" 2> /dev/null)"
987 new_hash="$(wget -O - "https://repo.turris.cz/hbs/medkit/$BOARD-medkit-latest.tar.gz.sha256")"
988 [ -n "$new_hash" ] || die "Can't get a hash of new factory image!"
989 if [ "$old_hash" = "$new_hash" ]; then
990 echo "No update available, latest image is already a"
  • Richard Muzik assigned to @mhrusecky and unassigned @rmuzik

    assigned to @mhrusecky and unassigned @rmuzik

  • Michal Hrusecky added 1 commit

    added 1 commit

    • 0a7fe6ba - fixup! Improve options for factory update

    Compare with previous version

  • Michal Hrusecky marked this merge request as draft from 0a7fe6ba

    marked this merge request as draft from 0a7fe6ba

  • Michal Hrusecky marked this merge request as ready

    marked this merge request as ready

  • Michal Hrusecky assigned to @rmuzik and unassigned @mhrusecky

    assigned to @rmuzik and unassigned @mhrusecky

  • Richard Muzik approved this merge request

    approved this merge request

  • Richard Muzik requested review from @tzak and removed review request for @rmuzik

    requested review from @tzak and removed review request for @rmuzik

  • Richard Muzik assigned to @tzak and unassigned @rmuzik

    assigned to @tzak and unassigned @rmuzik

  • Tomas Zak approved this merge request

    approved this merge request

  • Tomas Zak assigned to @mhrusecky and unassigned @tzak

    assigned to @mhrusecky and unassigned @tzak

  • Michal Hrusecky added 1 commit

    added 1 commit

    • 53ac92c7 - Improve options for factory update

    Compare with previous version

  • Please register or sign in to reply
    Loading