Commit 9bcabc1
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 bedcae1 commit 9bcabc1
1 file changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2086 | 2086 | | |
2087 | 2087 | | |
2088 | 2088 | | |
2089 | | - | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
2090 | 2108 | | |
2091 | 2109 | | |
2092 | 2110 | | |
| |||
0 commit comments