Repository navigation
feat: Update Gizlet OS cards without erasing user data - #11
Merged
Merged
Conversation
|
/ci Triage for |
There was a problem hiding this comment.
Codex Code Review
✅ No findings.
Read the complete diff and checked the surrounding disk validation, helper, writer, and Launcher code. No actionable defects found. PR-head tests were not run because the supplied checkout is read-only and contains only the base version.
Reviewed head 71e80960b666d9aaf503964a0aefa802ae8bcae5. Push changes, then comment a new review request to review the new head.
This file contains hidden or 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
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.
Add Update Card for compatible Gizlet OS TF cards. The elevated helper validates the image and card layouts and the local-profiles ext4 UUID on the confirmed disk, writes the boot and system area with the partition table last, and verifies the written bytes. The card’s data partition and its MBR entry are preserved.
Cards with setup.ini or authorized_keys on the boot partition are refused before writing and directed to the Gizlet OS update script, which preserves those files. Use a distinct request schema for updates so an older helper rejects the request.
All 93 core tests passed locally. Tests cover byte-for-byte data preservation, partition-table write order, incompatible layouts, boot setup files and request validation. The helper builds locally with Native AOT disabled. Windows CI covers the Native AOT build and installed Launcher.