core: Fix usroverlay regression#1784
Conversation
There was a problem hiding this comment.
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 | |||
|
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.