Paweł Poławski 01425471c5 Kernel: Update kernel build routine for CM4 version
This change adds building scripts for an easier kernel build
for CM4 module version of uConsole. From now one it can be done
using Ubuntu 22.04 docker container on any Linux operating system.
2024-03-04 12:33:09 +01:00

11 lines
417 B
Bash
Executable File

#!/bin/bash
# To be able to build kernel modules container needs to run in privileged mode
# [https://projectatomic.io/blog/2018/06/building-kernel-modules-with-podman/]
# Spawn container and run build script
docker run --rm --privileged -v ./:/uConsole ubuntu:22.04 /bin/bash /uConsole/build-kernel.sh
# Start container to run build script manually
# docker run -it --rm --privileged -v ./:/uConsole ubuntu:22.04