-
Notifications
You must be signed in to change notification settings - Fork 177
Add usroverlay --readonly
#2046
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
base: main
Are you sure you want to change the base?
Changes from all commits
cb3b836
047f922
0a6b711
f8eef4a
0b759cb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,16 @@ | ||
| # NAME | ||
|
|
||
| bootc-usr-overlay - Adds a transient writable overlayfs on `/usr` that | ||
| will be discarded on reboot | ||
| bootc-usr-overlay - Adds a transient overlayfs on `/usr` that will be discarded | ||
| on reboot | ||
|
|
||
| # SYNOPSIS | ||
|
|
||
| **bootc usr-overlay** \[*OPTIONS...*\] | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done in a separate commit |
||
|
|
||
| # DESCRIPTION | ||
|
|
||
| Adds a transient writable overlayfs on `/usr` that will be discarded | ||
| on reboot. | ||
| Adds a transient overlayfs on `/usr` that will be discarded on reboot. The | ||
| overlayfs is read/write by default. | ||
|
|
||
| ## USE CASES | ||
|
|
||
|
|
@@ -31,7 +31,13 @@ Almost always, a system process will hold a reference to the open mount | |
| point. You can however invoke `umount -l /usr` to perform a "lazy | ||
| unmount". | ||
|
|
||
| # OPTIONS | ||
|
|
||
| <!-- BEGIN GENERATED OPTIONS --> | ||
| **--read-only** | ||
|
|
||
| Mount the overlayfs as read-only. A read-only overlayfs is useful since it may be remounted as read/write in a private mount namespace and written to while the mount point remains read-only to the rest of the system | ||
|
|
||
| <!-- END GENERATED OPTIONS --> | ||
|
|
||
| # VERSION | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -182,8 +182,15 @@ execute: | |
| test: | ||
| - /tmt/tests/tests/test-34-user-agent | ||
|
|
||
| /plan-35-upgrade-preflight-disk-check: | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not a huge deal but I think these tmt/* changes belong in the previous commit that adds the test code |
||
| summary: Verify pre-flight disk space check rejects images with inflated layer sizes | ||
| discover: | ||
| how: fmf | ||
| test: | ||
| - /tmt/tests/tests/test-35-upgrade-preflight-disk-check | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this might have been a bad rebase? I believe this should point to the new
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah we have #1891 to hopefully gate on |
||
|
|
||
| /plan-36-rollback: | ||
| summary: Test bootc rollback functionality through image switch and rollback cycle | ||
| summary: Test bootc rollback functionality | ||
| discover: | ||
| how: fmf | ||
| test: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This
matchstatement can be simplified into anif/elseexpression to make it more concise.