All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to Semantic Versioning.
- Fixes to takeover upgrade script in preparation for release [Ken Bannister]
- Add takeover based upgrade script [Ken Bannister]
- Resolve part UUID links returned by df [Kyle Harding]
- Check that active and inactive partitions differ [Kyle Harding]
- Upgrade-2.x: avoid log function blocking execution [Alex Gonzalez]
- Upgrade-2.x: move error reporting to exit handler [Alex Gonzalez]
- Upgrade-2.x.sh: Comment why we still need to use the release_tags [Thodoris Greasidis]
- Upgrade-2.x: Block draft version upgrades using the release_tag version [Thodoris Greasidis]
- Upgrade-2.x: do not fail update if there is a scheduled SV update [Alex Gonzalez]
- Upgrade-2.x.sh: Avoid logging duplicates in transient systemd units [Alex Gonzalez]
- Upgrade-2.x.sh: improve logging [Alex Gonzalez]
- Upgrade-2.x.sh: reflect no reboot request on state message [Alex Gonzalez]
- Upgrade-2.x.sh: log to journal when available [Alex Gonzalez]
- Upgrade-2.x: perform a safe reboot taking locks into account [Alex Gonzalez]
- Upgrade-2.x: Fix shellcheck warning [Alex Gonzalez]
- Upgrade-2.x: Centralize curl call and include compression [Alex Gonzalez]
- Upgrade-2.x: Inherit ERR traps by subshells [Alex Gonzalez]
- Upgrade-2.x: Continue update if supervisor version is higher than target [Alex Gonzalez]
- Upgrade-2.x.sh: Extract fetching supervisor version from API to function [Alex Gonzalez]
- Upgrade-2.x: Remove check for final version [Alex Gonzalez]
- Upgrade-2.x.sh: add input checks to compare_device_state [Alex Gonzalez]
- Upgrade-2.x.sh: set failure state on sigint and sigterm [Alex Gonzalez]
- Upgrade-2.x.sh: use POSIX redirects [Alex Gonzalez]
- Upgrade-2.x: report update failure if supervisor state cannot be updated [Alex Gonzalez]
- Upgrade-2.x: use log to output messages [Alex Gonzalez]
- Upgrade-2.x.sh: remove confusing log reporting OS variant [Alex Gonzalez]
- Upgrade-2.x: Allow upgrading from balenaOS v3.x [Alexandru Costache]
- Upgrade-2.x.sh: Adapt to support major balenaOS version upgrades [Alex Gonzalez]
- Flowzone: add workflow [Alex Gonzalez]
- Upgrade-2.x: Remove REC files before updating [jaomaloy]
- Upgrade-2.x: On leftover data clean all engine storage [Alex Gonzalez]
- Upgrade-2.x.sh: Default to overlay2 as storage driver [Alex Gonzalez]
- Upgrade-2.x.sh: Use SUPERVISOR_VERSION for version check [Alex Gonzalez]
- Upgrade-2.x: Log the raw target version the scrips received [Thodoris Greasidis]
- Upgrade-2.x: Exclude draft hostApp releases [Thodoris Greasidis]
- Upgrade-2.x: Add support for upgrading to unified OS releases [Thodoris Greasidis]
- Backport increased os_bc_limit to existing releases [Alexandru Costache]
- Deprecate VARIANT in os-release file [Kyle Harding]
- Temporarily disable upgrades to 2.83.10+rev1 for Pi4 [Kyle Harding]
- Upgrade-2.x: Catch failure when dumping sv update logs [Kyle Harding]
- Upgrade-2.x: apply jetson fix to OS < v2.84.7 [Joseph Kogut]
- Upgrade-2.x.sh: Remove unsupported flag from supervisor upgrade [Kyle Harding]
- Upgrade-2.x.sh: Prevent supervisor update from halting HUP [Kyle Harding]
- Delete CODEOWNERS [Kyle Harding]
- Filter out invalidated hostApp releases [Thodoris Greasidis]
- 2.x: remove resin remnants from ssh script [Matthew McGinn]
- Meta: update codeowners [Matthew McGinn]
- Rename resin-supervisor to balena-supervisor [Kyle Harding]
- Reporting: retry failure reporting until successful [Matthew McGinn]
- Logging: retry reporting failures every minute for an hour [Matthew McGinn]
- ESR: properly grab the meta-balena version from /etc/os-release [Matthew McGinn]
- Supervisor-update: stop the supervisor before PATCHing the new target [Matthew McGinn]
- Private DTs: do not log out from the registry until cleanup [Matthew McGinn]
- Jetson: touch extra_uEnv.txt during HUP to allow supervisor mgmt [Matthew McGinn]
- Jetson: confirm variable exists before testing it [Matthew McGinn]
- Supervisor-upgrade: if the upgrade fails, grab what happened from systemd [Matthew McGinn]
- Supervisor: in case of API query failure, report the received response [Matthew McGinn]
- Rename a bunch of resins to balenas [Matthew McGinn]
- Remove accidentally added file [Matthew McGinn]
- Supervisor-update: use APIKEY when querying for the new target supervisor state [Matthew McGinn]
- Cleanup: remove unused DEVICETYPEJSON variable [Matthew McGinn]
- Meta: remove legacy codeowners [Matthew McGinn]
- Make HUP fetch the device type slug from the API [Stevche Radevski]
- Remove device sanity checks, as they are no longer needed [Hugh Brown]
- Jetson-tx2: migrate other special-case configuration during HUP [Matthew McGinn]
- Post-update-workarounds: allow
hostapp-update
to fail properly [Matthew McGinn]
- Supervisor: wait for upgrade unit to complete [Matthew McGinn]
- Jetson-tx2: rudimentary fix for accidental overwrite of extlinux.conf [Matthew McGinn]
- Meta: dts -> device types for clarity [Matthew McGinn]
- Supervisor: if available, update supervisor without affecting it's state [Matthew McGinn]
- Registry: use provided arg for FQDN rather than local source [Matthew McGinn]
- Log out from the correct REGISTRY_ENDPOINT [Matthew McGinn]
- Use a named key when querying for device by uuid [Matthew McGinn]
- Non-hostapp: fix up retry count non-integer issue [Matthew McGinn]
- Supervisor update: fix bad curl command [Matthew McGinn]
- Variants: remove warning about non-prod [Matthew McGinn]
- Use device uuid not numeric id in legacy scripts [Matthew McGinn]
- Use device uuid not numeric id [Matthew McGinn]
- Remove ascii_downcase function to support old host OSes [Matthew McGinn]
- Fix: backfill missing image variable for legacy upgrades [Matthew McGinn]
- Legacy HUP: image -> target_image for balena registry compat [Matthew McGinn]
- Private dts: enable HUP for access-restricted device types [Matthew McGinn]
- Deltas: fix up service substitution to properly request deltas [Matthew McGinn]
- Error gracefully if number of target releases != 1 [Matthew McGinn]
- Rename: check for balenahup folders existence before symlinking [Matthew McGinn]
- Meta: properly generate nested changelog [Matthew McGinn]
- Meta: add versionbot scaffolding for nested changelogs [Matthew McGinn]
- Rename most resin to balena [Matthew McGinn]
- Remove DockerHub fallback for 2.x HUPs [Matthew McGinn]
- Codeowners: swap zubairlk and saintaardvark [Matthew McGinn]
- Delta HUP: make size log more defensive to handle old jq + bad responses [Matthew McGinn]
- Delta-hup: include size of delta [Matthew McGinn]
- TLS: reuse balenaRootCA to bypass local MitM and self-signed certs [Matthew McGinn]
- Hostapp-images: try pulling from balena registry before DockerHub [Matthew McGinn]
- Enable delta host OS upgrades [Matthew McGinn]
- Meta: add xginn8 as CODEOWNER [Matthew McGinn]
- Reboot: background subsequent reboot requests to exit cleanly [Matthew McGinn]
- Silence stderr that causes "failed" HUPs [Matthew McGinn]
- Meta: update CODEOWNERS [Matthew McGinn]
- Replace "nohup ..." with "systemd reboot" in reboot requests [Gergely Imreh]
- Upgrade-2.x: Do not error out when getting a .dev device version [Gergely Imreh]
- Remove "--nolog" flag from 2.x updater, and always set up logfile [Gergely Imreh]
- Logging: redirect ERROR messages to stderr (to pass back to the proxy) [Matthew McGinn]
- Typo: fix up minor exsits typo [Matthew McGinn]
- Upgrade-2.x: allow extra version format [Gergely Imreh]
- Upgrade-2.x: sanitize persistent logging device config vars [Gergely Imreh]
- Upgrade-1.x-to-2.x: also set the supervisor image name during update [Gergely Imreh]
- Upgrade-2.x: increase timeout values during update to 5 minutes [Gergely Imreh]
- Upgrade-1.x-to-2.x: unify data partition unmounting and add preventing umount step [Gergely Imreh]
- Upgrade-1.x: also use supervisor registry if set [Gergely Imreh]
- Upgrade-1.x: use the new 1.x HUP image, and allow setting the v1 registry [Gergely Imreh]
- Hup-1.x: allow updater to take a v1 Docker registry URL [Gergely Imreh]
- Upgrade 1x2x/2x: bump API calls to the latest API version [Gergely Imreh]
- Upgrade-2.x: redo supported device slug test [Gergely Imreh]
- Upgrade-2.x: Namespaced creation temporary folder [Gergely Imreh]
- Upgrade-2.x: user tempfile for FIFO [Gergely Imreh]
- Upgrade-1.x-to-2.x: do not umount the boot partition [Gergely Imreh]
- Upgrade-1.x-to-2.x: add sync to every copy step [Gergely Imreh]
- Upgrade-1.x-to-2.x: erase partition always before creating ext4 [Gergely Imreh]
- Add CODEOWNERS [Gergely Imreh]
- Upgrade-1x-to-2x: add retries to the docker pull step [Gergely Imreh]
- Add retries to all curl calls for more robustness [Gergely Imreh]
- Upgrade-2.x: expand on leftover data clearence after interrupted update [Gergely Imreh]
- Upgrade-2.x: Add whitelist for imx8m-var-dart and cl-som-imx8 device types [Gergely Imreh]
- Upgrade-1.x-to-2.x: Fix incorrect migration to the state partition [Gergely Imreh]
- Upgrade-1.x-to-2.x: Add sync after going read-only for safety [Gergely Imreh]
- Upgrade-2.x: Clean up inactive docker/balena folder if needed [Gergely Imreh]
- Upgrade-2.x: Remove supervisor container not just stop [Gergely Imreh]
- Upgrade-1.x: Properly handle updates to logstream 1.x versions [Gergely Imreh]
- Upgrade-2.x: Properly remove update image when needed [Gergely Imreh]
- Upgrade-2.x: Fix balena migration [Gergely Imreh]
- Upgrade-2.x: add retries to docker pull where we expect timeouts [Gergely Imreh]
- Resinhup.conf: Remove unused mixpanelToken variable [Juan Cruz Viotti]
- Upgrade-1.x-to-2.x: Fixup of supervisor updater edge case [Gergely Imreh]
- Upgrade-1.x-to-2.x: Get the supervisor version from the new root [Gergely Imreh]
- Upgrade-2.x: Add support for new boards [Gergely Imreh]
- Upgrade-2.x: Only switch docker to single download where available [Gergely Imreh]
- Upgrade-2.x: Add support for ARTIK530/ARTIK533s device types [Gergely Imreh]
- Upgrade-2.x: add orbitty-tx2 to supported device types [Gergely Imreh]
- Upgrade-2.x: Update OS version check for update-resin-supervisor fix [Gergely Imreh]
- Update-2.x: resinOS >=2.13.1 does not have timesyncd so no need to fix [Gergely Imreh]
- Upgrade-1.x-to-2.x: when switching root partitions, run check after writing [Gergely Imreh]
- Update-2.x: workaround for RPi1 2.x devices not being able do some docker pulls [Gergely Imreh]
- Upgrade-1.x-to-2.x: modify docker daemon flags for in target system [Gergely Imreh]
- Upgrade-1.x-to-2.x: force dd to physically write stuff to disk before finishing [Gergely Imreh]
- When first umounting file systems, also stop the relevant systemd services [Gergely Imreh]
- Fix cleaning up resinOS update package [Gergely Imreh]
- Adding support for the Banana Pi M1 and the Dart board [Gergely Imreh]
- Adding support for more devices [Gergely Imreh]
- Upgrade-2.x: add support for TX1 updates [Gergely Imreh]
- Upgrade-2.x: clean up after in-container resinOS updates [Gergely Imreh]
- Upgrade-1.x-to-2.x/-2.x: replace $SECONDS with iteration counter [Gergely Imreh]
- Upgrade-1.x-to-2.x: add missing umount and make umounts robust [Gergely Imreh]
- Upgrade-2.x: combine supported ARM device types into a single check [Gergely Imreh]
- Upgrade-1.x-to-2.x: add support to upgrade the Intel NUC [Gergely Imreh]
- Upgrade-2.x: add new flag to assume supported device [Gergely Imreh]
- Upgrade-2.x: upgrading a
.dev
device switched from error to warning [Gergely Imreh] - Upgrade/upgrade-ssh all versions: if no option supplied, just show the help [Gergely Imreh]
- Upgrade-1.x/1.x-to-2.x/2.x: lockfile improvements [Gergely Imreh]
- Upgrade-2.x: add support for the Artik710 device type [Gergely Imreh]
- Upgrade-1.x and upgrade-ssh-1.x: moving/adapting scripts from meta-resin [Gergely Imreh]
- Upgrade_2.x: change when to remove containers for supervisor updates [Gergely Imreh]
- Upgrade-2.x.sh: fix issues with
read
on newer resinOS versions [Gergely Imreh] - Running upgrade scripts over new type of SSH access [Gergely Imreh]
- Upgrade scripts: use lockfile to prevent multiple updates running [Gergely Imreh]
- Upgrade-2.x: add flag to stop user application before updates [Gergely Imreh]
- Upgrade-2.x: add support for Intel Edison updates on resinOS 2.x [Gergely Imreh]
- Upgrade-2.x: fix balena migration for non-hostapp-mode hostapp enabled resinOS (#143) [Gergely Imreh]
- Upgrade-2.x: typo in script [Gergely Imreh]
- Upgrade-2.x: add QEMU support for resinHUP scripts [Gergely Imreh]
- Upgrade-2.x: add support for ts4900 device type [Gergely Imreh]
- Upgrade-2.x: add support for Jetson TX2 and related devices [Gergely Imreh]
- Upgrade-2.x: remove supervisor database after upgrade for some versions [Gergely Imreh]
- Upgrade-2.x: fixing up help text, making --staging more safe [Gergely Imreh]
- Upgrade-2.x: new flags to pull resinOS from custom repository [Gergely Imreh]
- Upgrade-2.x: adding support for iot2000 board [Gergely Imreh]
- Upgrade-2.x: balena migration fixes [Gergely Imreh]
- Upgrade-2.x: check supervisor version based on the target image [Gergely Imreh]
- Upgrade-1x-to-2x/upgrade-2x: update progress messages based on feedback [Gergely Imreh]
- Upgrade-1.x-to-2.x: check if btrfs partition was successfully umounted [Gergely Imreh]
- Upgrade-2x: enable hostapp-update based updates through resinhup (#112) [Gergely Imreh]
- Upgrade-scripts: fix indentations [Gergely Imreh]
- Upgrade-1.x-to-2.x: unify ext4 file system creation as it is done on 2.x [Gergely Imreh]
- Adding bootfile patch that is required for the hostapps update for some versions [Gergely Imreh]
- Upgrade-1.x-to-2.x: static IP migration [Gergely Imreh]
- Upgrade-1.x-to-2.x: supervisor bootstrap add highest target version [Gergely Imreh]
- Upgrade-2.x: update-resin-supervisor polyfill for 2.0.8-2.7.0 versions [Gergely Imreh]
- Upgrade-1.x-to-2.x: fix typo in function name [Gergely Imreh]
- Upgrade-1.x-to-2.x: connman config changes only when required [Gergely Imreh]
- Upgrade-1.x-to-2.x: for resinOS versions with supervisor v6.2.0-v6.3.4 bump it [Gergely Imreh]
- Upgrade-ssh-1.x-to-2.x: allow "--nolog" to be passed to the update script [Gergely Imreh]
- Upgrade-1.x-to-2.x: bail out with an error if resin-data backup fails [Gergely Imreh]
- Upgrade-2.x: fixes to issues highlighted by shellcheck [Gergely Imreh]
- Upgrade-2.x: fix nolog command line parameter for the over-the-ssh updater [Gergely Imreh]
- Upgrade-2.x: rewrite nmcli check for resin-sample [Gergely Imreh]
- Upgrade-2.x: enable --nolog flag for the running-over-ssh script [Gergely Imreh]
- Upgrade-2.x: add the first sanity check for the update (device type check) [Gergely Imreh]
- Upgrade-1.x-to-2.x: fix up start-resin-supervisor for some versions [Gergely Imreh]
- Upgrade-2.x: update APIKEY getting logic [Gergely Imreh]
- Upgrade-1.x-to-2.x: check whether the target resinOS version exists in registry [Gergely Imreh]
- Upgrade-2.x: check whether the target resinOS version exists in registry [Gergely Imreh]
- Upgrade-2.x: possibility of redirecting complete script output to file [Gergely Imreh]
- Upgrade-1.x-to-2.x: possibility of redirecting complete script output to file [Gergely Imreh]
- Upgrade-2.x: better version string normalization and defensive checking [Gergely Imreh]
- Upgrade-1.x-to-2.x: fixing typo in status message [Gergely Imreh]
- Upgrade-1.x-to-2.x: bail out if cannot download update package [Gergely Imreh]
- Upgrade-1.x-to-2.x: bump up minimum Beaglebone hostos starting version [Gergely Imreh]
- Upgrade-2.x: switch order of root partition switch and supervisor upgrade [Gergely Imreh]
- Upgrade-2.x: enable using staging resinOS docker hub repository [Gergely Imreh]
- Ugrade-1.x-to-2.x: changes to go into the self-service HUP [Gergely Imreh]
- Upgrade-2.x: add options to log to file [Gergely Imreh]
- Upgrade-1.x-to-2.x: pre-check for wifi-config settings migrations [Gergely Imreh]
- Upgrade-1.x-to-2.x: adding extra functionality into the upgrade [Gergely Imreh]
- Upgrade-2.x: make supervisor update issues errors instead of warnings [Gergely Imreh]
- Upgrade-2.x: explicitly stop services, instead of doing it in dependent function [Gergely Imreh]
- Upgrade-2.x: restart supervisor if there's an error in the script [Gergely Imreh]
- Upgrade-2.x: add shellcheck exception to docker calls [Gergely Imreh]
- Upgrade-2.x: more defensive supervisor upgrade script [Gergely Imreh]
- Upgrade-2.x: change supervisor upgrade function's name [Gergely Imreh]
- Upgrade-2.x: update download URI for x86 tools now that they are merged [Gergely Imreh]
- Upgrade-2.x: check VERSION_ID for resin-device-progress patch [Gergely Imreh]
- Upgrade-2.x: add patching resin-supervisor-progress on affected versions [Gergely Imreh]
- Upgrade-2.x: add explicit supervisor update command line argument [Gergely Imreh]
- Upgrade-2.x: at the end of the supervisor update remove existing containers [Gergely Imreh]
- Upgrade-1.x-to-2.x: migrate root partition when it's read-only [Gergely Imreh]
- Updater-2.x: add displayed status for supervisor update stage [Gergely Imreh]
- Upgrade-1.x-to-2.x: add more log output [Gergely Imreh]
- Upgrade-1.x-to-2.x: migrate wifi connections to the boot partition [Gergely Imreh]
- Upgrade-2.x: updating supervisor versions at the end of the update [Gergely Imreh]
- Upgrade-2.x: only upgrade "prod" devices [Gergely Imreh]
- Upgrade-1.x-to-2.x: set new target versions [Gergely Imreh]
- Upgrade-1.x-to-2.x: also migrate resin-wifi-connect configuration [Gergely Imreh]
- Updater-2.x: up-board support [Gergely Imreh]
- Updater-2.x: add progress bars [Gergely Imreh]
- Updater-2.x: extract hup package without an intermediate file [Gergely Imreh]
- Upgrade-2.x: fix tool downloads and be more defensive about it. [Gergely Imreh]
- Upgrade-1.x-to-2.x: fixes since initial merge [Gergely Imreh]
- Add 2.x upgrade script [Will Newton]
- Add script to perform 1.x to 2.x migration [Will Newton]
- Upgrade-binaries: Add static binaries for legacy upgrades [Will Newton]
- Artik5: update to Alpine-based image as well [Gergely Imreh]
- Versionist: add support for versionist generation of CHANGELOG.md [Gergely Imreh]
- Alpine based resinHUP images [Gergely Imreh]
- legacy-config: fix copy bug when migrating config.json [Gergely]
- Whitelist etc/hostname [Gergely]
- Whitelist etc/openvpn/resin.conf to allow resinhup on staging [Will]
- Implement ability to downgrade through argument and environment variable [Andrei]
- Whitelist splash logo [Michal]
- Implement retry mechanism in pulling resinos image [Michal]
- Artik 5 support [Andrei]
- Fix ignore directories when iterating [Andrei]
- Add support for dockerhub based update packages [Andrei]
- Implement version and remote arguments [Andrei]