You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 85c55ef
Browse filesBrowse the repository at this point in the historyBrowse files
container: Advertise install features in container inspect
Tools that prepare a target for `install to-filesystem`, such as disk
image builders, need to know whether the bootc in an image initializes
mounted /var filesystems before they mount them: older versions leave
such filesystems empty, so they hide the image's /var content at boot,
and versions before 1.12 reject mountpoints in the target entirely.
Add an `install-features` list to `bootc container inspect` output,
currently containing `initialize-var-mounts`. It describes the bootc
binary rather than the image, but this is the command builders already
run against the image. The human-readable output is unchanged.
Generated-by: AI
Copy file name to clipboardExpand all lines: docs/src/man/bootc-container-inspect.8.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,10 @@ The command outputs a JSON object with the following fields:
18
18
-`kernel`: An object containing kernel information (or `null` if no kernel is found):
19
19
-`version`: The kernel version identifier. For vmlinuz kernels, this is derived from the `/usr/lib/modules/<version>` directory name (equivalent to `uname -r`). For UKI images, this is the UKI filename without the `.efi` extension - which should usually be the same as the uname.
20
20
-`unified`: A boolean indicating whether the kernel is packaged as a UKI (Unified Kernel Image).
21
+
-`install-features`: An array of optional `bootc install` behaviors implemented by this bootc binary,
22
+
for tools that prepare a target for `bootc install to-filesystem`:
23
+
-`initialize-var-mounts`: Empty filesystems mounted at `/var` or below in the target are initialized
24
+
from the image's `/var` content. See **bootc-install-to-filesystem**(8).
21
25
22
26
# OPTIONS
23
27
@@ -60,7 +64,10 @@ Example output (vmlinuz kernel):
0 commit comments