Skip to content

Conversation

@schaefi
Copy link
Collaborator

@schaefi schaefi commented Nov 2, 2025

As a less strict method to retain_last, now also the retain_past deployment option exists. In the retain_past mode the partition to preserve must not be part of the initial image. It can retain the content of any last partition if its start address is past the OS image. However, a gap in the partition table between the OS end and the start of the retained partition can occur for which this commit does not provide a resize method yet.

As a less strict method to retain_last, now also the retain_past
deployment option exists. In the retain_past mode the partition
to preserve must not be part of the initial image. It can retain
the content of any last partition if its start address is past
the OS image. However, a gap in the partition table between the
OS end and the start of the retained partition can occur for
which this commit does not provide a resize method yet.
@schaefi schaefi requested a review from davidcassany November 2, 2025 18:34
@schaefi schaefi self-assigned this Nov 2, 2025
@schaefi
Copy link
Collaborator Author

schaefi commented Nov 2, 2025

@davidcassany inspired by our conversation I was coding the changes to allow retaining any last partition for the use case you described. This is just a draft PR and I haven't done testing of the feature in an adequate way. I'd like to seek your feedback what you think about it. Also see comments in code that I made.

Thanks much

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