-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/softwareupdate #38
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initial app-udpate script with new directory layout with separated directories for app, plugins, scripts, splash screens, web-configurator. Relates to #35
The wpa_supplicant configuration file in /boot might have been removed. In this case the wificopy marker no longer applies and needs to be removed.
Compare wpa_supplicant.conf in boot with current configuration file and only process it if different. This closes #37
A marker file is *.version file containing meta data of an update: - Update archive - Version - Download URL Each property is on a separate line. Key values are separated by a colon embedded in tabs.
martonborzak
approved these changes
Apr 1, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Initial implementation of the remote app update script according to the described solution in #35.
The update script has several precautions built in to make the update process as stable and safe as possible. The running app is only terminated and replaced after all checks succeed. The downside is that the splash screen is barely visible and there's no immediate feedback after starting the update from within the app. In other words: there's no fancy user interface experience yet.
This will be addressed in a separate task since it involves changing the update process and interactions between the app and the update script(s).
Further changes:
This closes #35