Dockerfile and script to build Linux kernel for MNT Reforn2
|
||
---|---|---|
docker | ||
src | ||
Dockerfile | ||
README.md |
MNT Reform Kernel build script
Work in progress script for building Linux Kernel for the MNT Refom 2 computer.
Build with docker
Build the image :
docker build -t reform_kernel_build .
Then run the container with with a directory mapped to /output
:
docker run -v /home/docker/output:/output --env KERNEL_VERSION=5.11 --rm reform_kernel_build
You need to pass KERNEL_VERSION
environment variable to your container do tell
make_kernel.sh
which version to compile.
Kernel and dtb files will be in the directory mapped to /output
in the
container.
Licence
This work is derivated from MNT script found here and licenced under the GPLv3 Licence