Commit 7b5b50b
committed
cli: Inject --system into
Without this, `bootc internals cfsctl oci images` (and other cfsctl
subcommands) would fall back to cfsctl's own default repo heuristic.
While cfsctl already picks /sysroot/composefs when running as root,
being explicit here documents the intent and makes the behaviour
consistent regardless of uid. Pass --system rather than hardcoding
the path so the constant lives in one place (cfsctl's system_path()).
Users can still override with --repo, --user, or --system and the
injected flag is skipped in that case.
Assisted-by: OpenCode (claude-sonnet-4-6@default)
Signed-off-by: Colin Walters <walters@verbum.org>bootc internals cfsctl by default1 parent 1bc7462 commit 7b5b50b
1 file changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2092 | 2092 | | |
2093 | 2093 | | |
2094 | 2094 | | |
2095 | | - | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
2096 | 2114 | | |
2097 | 2115 | | |
2098 | 2116 | | |
| |||
0 commit comments