bootc-dev / bootc-dev/bootc

Add `bootc uninstall`

Open
#1,656 1 comment 0 reactions 0 assignees View on GitHub
area/install
Dominant language
Rust
Stars
2.3k
Forks
230
Avg merge
3d 12h
Merged PRs (30d)
38

Description

One thing I'd like to support is having OS vendors have e.g. cloud images that start out in bootc mode, but if e.g. there's some app/workload that isn't compatible, they can run say: `bootc uninstall` and revert back to a classic mutable package-based workflow.

One implementation detail I think we can make happen here is that this could happen "live":

- reflink copy all the objects back to `/`
- Clone `/etc` and `/var` back to `/`
- remount the rootfs back to that
- On reboot `bootc-destructive-cleanup.service` would do the *opposite* of what it does today - remove the old bootc state

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.