Commit 8dd25ba
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 bb9b581 commit 8dd25ba
3 files changed
Lines changed: 34 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
606 | 611 | | |
607 | 612 | | |
608 | 613 | | |
| |||
1745 | 1750 | | |
1746 | 1751 | | |
1747 | 1752 | | |
1748 | | - | |
| 1753 | + | |
1749 | 1754 | | |
1750 | 1755 | | |
1751 | | - | |
| 1756 | + | |
1752 | 1757 | | |
1753 | 1758 | | |
1754 | 1759 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
418 | 419 | | |
419 | 420 | | |
420 | 421 | | |
421 | | - | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
422 | 426 | | |
423 | 427 | | |
424 | 428 | | |
425 | 429 | | |
426 | | - | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
427 | 444 | | |
428 | 445 | | |
429 | 446 | | |
430 | 447 | | |
431 | 448 | | |
432 | 449 | | |
433 | | - | |
434 | | - | |
| 450 | + | |
435 | 451 | | |
436 | 452 | | |
437 | 453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | | - | |
43 | | - | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
0 commit comments