Skip to content

feat: Update Gizlet OS cards without erasing user data - #11

Merged
idy merged 1 commit into
mainfrom
codex/tf-card-update
Nov 29, 2026
Merged

idy merged 1 commit into
mainfrom
codex/tf-card-update

Conversation

@idy

@idy idy commented Nov 29, 2026

Copy link
Copy Markdown
Member

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.

@gizlet-bot

gizlet-bot Bot commented Nov 29, 2026

Copy link
Copy Markdown

/ci
/codex-review

Triage for 71e8096. Comment a command on its own line to run it again.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@idy
idy merged commit 1fe6139 into main Nov 29, 2026
3 checks passed
@idy
idy deleted the codex/tf-card-update branch November 29, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant