Commit b3cb91a
committed
cfs/test: Fix ro /sysroot problem
The `bootc internals cfs` test was running into an issue where pulling
an image into a composefs repository at `/sysroot/composefs` was failing
due to /sysroot being mounted ro. We did remount it rw in an earlier
cmd, but that was in a separate mount ns which did not carry over to the
next commands
Instead of globally remounting /sysroot as rw, we now pass a path to the
`test-composefs` command which initializes a composefs repository at
said path. Also, pass in `--insecure` to `bootc internals cfs ...` as in
the ostree case we're testing in xfs which does not support fs-verity
Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>1 parent 5397026 commit b3cb91a
2 files changed
Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
0 commit comments