Dockerfile and script to build Linux kernel for MNT Reforn2
Find a file
2021-04-15 02:13:53 +02:00
docker First commit (WIP) 2021-04-15 02:13:53 +02:00
src First commit (WIP) 2021-04-15 02:13:53 +02:00
Dockerfile First commit (WIP) 2021-04-15 02:13:53 +02:00
README.md First commit (WIP) 2021-04-15 02:13:53 +02:00

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