mirror of
https://github.com/clockworkpi/uConsole.git
synced 2026-03-21 19:32:50 +01:00
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.
This commit is contained in:
10
Code/patch/cm4/20230630/run.sh
Executable file
10
Code/patch/cm4/20230630/run.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user