Files
container/kernel/README.md
T
34celsius 8a92500f8c docs: Fix typo and broken nested list in kernel/README.md (#57)
This change fixes a broken nested list and updates the phrase "light
weight" for consistency with
https://github.com/apple/containerization/pull/50.
2025-06-10 03:21:40 -07:00

23 lines
841 B
Markdown

# Containerization Kernel Configuration
This directory includes an optimized kernel configuration to produce a fast and lightweight kernel for container use.
- `config-arm64` includes the kernel `CONFIG_` options.
- `Makefile` includes the kernel version and source package url.
- `build.sh` scripts the kernel build process.
- `image/` includes the configuration for an image with build tooling.
## Building
1. Build the `Containerization` project by running `make` in the root of the repository.
2. Place a kernel you want to use in `bin/vmlinux` directory of the repository.
a. This kernel will be used to launch the build container.
b. To fetch a default kernel run `make fetch-default-kernel` in the root of the repository.
4. Run `make` in the `/kernel` directory.
A `kernel/vmlinux` will be the result of the build.