Commit 46fc035
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 46fc035
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 | | |
| |||
426 | 427 | | |
427 | 428 | | |
428 | 429 | | |
429 | | - | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
430 | 434 | | |
431 | 435 | | |
432 | 436 | | |
433 | 437 | | |
434 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
435 | 452 | | |
436 | 453 | | |
437 | 454 | | |
438 | 455 | | |
439 | 456 | | |
440 | 457 | | |
441 | | - | |
442 | | - | |
| 458 | + | |
443 | 459 | | |
444 | 460 | | |
445 | 461 | | |
| |||
| 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