-
Notifications
You must be signed in to change notification settings - Fork 154
core: Fix usroverlay regression #1784
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
Conversation
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.
Code Review
This pull request fixes a regression in bootc usroverlay where /sysroot was being unnecessarily made writable. The fix correctly detects the boot environment without invoking storage preparation logic that has side effects. A new test case is also added to cover the usroverlay functionality, verifying that it creates a transient writable overlay on /usr that is discarded on reboot. My review includes a couple of suggestions to improve the naming and description in the new test files for better clarity and maintainability.
| @@ -0,0 +1,3 @@ | |||
| summary: Execute tests for bootc usrover | |||
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.
|
code lgtm, but it's weird that only stream10 is failing with: I am re-running these and see if it's some glitch as this nu test was not changed here. |
|
OK right we need the same workaround here that landed in the factory reset test. |
41158cf to
ec14bb7
Compare
The `/sysroot` writability regressed this, and add a missing test case for this. Signed-off-by: Colin Walters <walters@verbum.org>
Since other tests are hitting it. Signed-off-by: Colin Walters <walters@verbum.org>
ec14bb7 to
f712ae2
Compare
The
/sysrootwritability regressed this, and add a missing test case for this.