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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant