Skip to content
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

install: Support cleanup for alongside installs #923

Open
cgwalters opened this issue Nov 27, 2024 · 0 comments
Open

install: Support cleanup for alongside installs #923

cgwalters opened this issue Nov 27, 2024 · 0 comments
Labels
area/install Issues related to `bootc install`

Comments

@cgwalters
Copy link
Collaborator

When we're doing an alongside install we basically leak all storage space from the previous OS. I think the long term cleanest fix is #78

But in the short term what I'm thinking here is we could add a default opinionated systemd unit that does the cleanup. Note that in the fully general case this may have operating system dependent semantics - for example if the previous OS was using e.g. btrfs snapshots or something else. But our default unit I think can do a non-mount traversing loop. (Maybe to be even more safe, we e.g. only traverse files owned by e.g. rpm/dpkg? Doing that would require some more OS integration glue, but tractable)

@cgwalters cgwalters added the area/install Issues related to `bootc install` label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install`
Projects
None yet
Development

No branches or pull requests

1 participant