Commit 37a0427
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 simply create a
new repository at /var/tmp/sysroot/composefs and perform all operations
there.
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 4fc39c3 commit 37a0427
1 file changed
Lines changed: 6 additions & 2 deletions
| 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