Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

enable read-only sysroot #98

Open
boredsquirrel opened this issue Apr 3, 2023 · 0 comments
Open

enable read-only sysroot #98

boredsquirrel opened this issue Apr 3, 2023 · 0 comments

Comments

@boredsquirrel
Copy link
Collaborator

This is a feature implemented in F37 but its opt-in, which is imo pretty useless as probably everyone benefitting from it would not manually enable that.

sudo rpm-ostree kargs --append-if-missing=rw

sudo ostree config --repo=/sysroot/ostree/repo set "sysroot.readonly" "true"

sudo systemctl reboot

This may cause breakages, but probably not. If there are any kernel changes or layered packages this may cause troubles or has to be applied afterwards.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant