Skip to content

repart: Check the installation plan before erasing the disk - #961

Closed
Sean-StarLabs wants to merge 1 commit into
elementary:vishal/repart-backendfrom
StarLabsLtd:vale/repart-preflight-submit
Closed

Sean-StarLabs wants to merge 1 commit into
elementary:vishal/repart-backendfrom
StarLabsLtd:vale/repart-preflight-submit

Conversation

@Sean-StarLabs

Copy link
Copy Markdown

Check the source and repart plan before erasing the disk, and keep definitions and the key file private to each installation. Use GIO for copying and cleanup, including failure paths.

Based on #959. Tested source/key-file failures, dry-run ordering and cleanup in a private native GLib fixture; disk installation has not been tested.

@vjr

vjr commented Oct 3, 2026

Copy link
Copy Markdown
Member

Heyyyy, took a quick look through on my phone and I'm happy to merge, let me test over the weekend, thanks very much for this branch!

Validate the source and repart plan before wipefs. Keep the definitions and
key file private to each installation, and clean them up on errors.

Test=Checked source and key-file failures, dry-run ordering and cleanup in
     a private GLib fixture.
@Sean-StarLabs
Sean-StarLabs force-pushed the vale/repart-preflight-submit branch from 636b423 to fcd0307 Compare October 19, 2026 15:19
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.

2 participants