-
Notifications
You must be signed in to change notification settings - Fork 0
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
Migration os #108
Draft
Josef-MrBeam
wants to merge
35
commits into
develop
Choose a base branch
from
migrationOS
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Migration os #108
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
* SW-4170 Add migration os to beam os 2 flashing script * SW-4170 Fix typo
* Set the key server.firstBootAfterUpgrade to true * use the $configfile variable
* SW-3164 Download the latest stable image and place into /home/pi/image * SW-3164 Fix the bucket path * SW-3164 Update Google Application Credentials for downloading * SW-3164 Use different method for downloading the image * SW-3164 Set BASE_IMAGE_ENLARGEROOT to create enough space for Beam OS 2 image * SW-3164 Get the Beam OS 2 image name from secrets
* Add a service to run on boot of migrationos. * The service triggers the migrationos_to_beamos2.sh * Add to the chroot script to include in build. * Start migration service after ledstrips are on.
* Add materials.yaml to the backup and restore list. * Add mount_manager.log to the backup list. * Add section for giving all known users admin permission during restore data.
#114) SW-4209 Change field from server to plugins.mrbeam for the firstBootAfterUpgrade
…p files condition (#115) * Implement version check for MrBeamPlugin version and fail if less than min version. * Remove the parameter for preserve-data command and associated helper function. * Update usage displayed. * Modify helper method find_usb_device_name to accomodate for legacy image. * Modify dd function call. * Check for salt in accesscontrol of config.yaml. * create a temp file to store list of files to skip persistent. * reuse the file in preserve-data method. * Check for missing values in /etc/mrbeam. * Exit if there are missing values
* exclude cam folder from backup and restore
* Backup cam folder * Restore cam folder except lens calibration file.
* install numpy * santize_npz.py skeleton * handle pickle error * backup original file before applying transformation. * use right backup module * formatting checks --------- Co-authored-by: Josef-MrBeam <[email protected]>
* SW-4356 Merge migration-operator attribute with server url and port * SW-4356 Use underscore for the migration operator variable
* use same logic in migration.sh for migration_operator as used by the backup_restore stick
* Split MigrationOS from the sig file. * Pass USB_ROOT as a parameter to the caller migration script. * Use specific colors in the status fail calls, status progress calls. * Bump version of migration.sh script. * Status fail will alternate indefinitely between specific color and red based on error. * Status progress blue for phase 1 of migration. * Status progress orange for phase 2 of migration. * Add parameter of color in usage() * Correct phase color on not finding image file when trying to flash image.
* Check for sd-card size greater than 12GB to migrate. * Introduce exit codes for each stage associated with colors on do_exit(). * Remove stray exit 0. * Catch exit codes on error and send exit 100 to to flash orange on phase 2. * Amend wrong parameter to mount function call
* add mrb3-led-strip repo * update python to 3.10 * set size to 3GB
…ing during the two long phases (#124) * add led progress * remove old in progress * move blinking to background
* switch migration to reboot instead of shutdown * fix colored progress * fix permission
…one (#128) SW-4388 Set config fields if the value is presented at the backed up one.
…ration stick execution (#129) * Version bump. * Correction for bash syntax errors. * Add mount path for migrationos 3 partitions. * Add logging for Phase 2 on the USB partition. * Restore the logs on USB partition to newly flashed sd card rootfs /var/log locations. * use new parameter to mount function call. * Modify usage to reflect the new parameter. * Implement the modification on do_mount.
* Version bump. * Change usage(). * Remove warn state for leds. * Redefine sd card error color to flash purple/red alternatively. * Introduce flash yellow/red to indicate flash to usb failure.
* Precondition check for sd card free space less than 4GB * version bump
* Version bump * add colour to success LEDs state * success state blinks alternative between stage colour and green for three times
* Bump version * Use migration operator from file.
* Bump version * ensure the migrationoperator file is copied
* grep the correct disk on the sd card
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.
No description provided.