Skip to content

Commit 700faa6

Browse files
committed
docs: Move kernel/initramfs from install to base image doc
We have this in other places, but it's best here. At some point I might redirect the other copies here. Signed-off-by: Colin Walters <[email protected]>
1 parent 680b29f commit 700faa6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/src/bootc-images.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ You can then use `podman build`, `buildah`, `docker build`, or any other contain
7272
build tool to produce your customized image. The only requirement is that the
7373
container build tool supports producing OCI container images.
7474

75+
## Kernel
76+
77+
The Linux kernel (and optionally initramfs) is embedded in the container image; the canonical location
78+
is `/usr/lib/modules/$kver/vmlinuz`, and the initramfs should be in `initramfs.img`
79+
in that directory. You should *not* include any content in `/boot` in your container image.
80+
Bootc will take care of copying the kernel/initramfs as needed from the container image to
81+
`/boot`.
82+
83+
Future work for supporting UKIs will follow the recommendations of the uapi-group in [Locations for Distribution-built UKIs Installed by Package Managers](https://uapi-group.org/specifications/specs/unified_kernel_image/#locations-for-distribution-built-ukis-installed-by-package-managers).
84+
7585
## The `ostree container commit` command
7686

7787
You may find some references to this; it is no longer very useful

0 commit comments

Comments
 (0)