Files
container/kernel/README.md
T
2025-06-06 15:05:24 -07:00

20 lines
839 B
Markdown

# Containerization Kernel Configuration
This directory includes an optimized kernel configuration to produce a fast and light weight 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.