mirror of
https://github.com/clockworkpi/uConsole.git
synced 2025-12-12 18:18:50 +01:00
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.
11 lines
417 B
Bash
Executable File
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
|