diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b3ff208b1f3771eda4904fddc3bbd41947faea0e..e8eaf836452190215f5a68ea83d201ff05e13540 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ stages: - build build-kernel: - image: ubuntu:focal + image: ubuntu:humble stage: build artifacts: paths: diff --git a/README.md b/README.md index 2052bc65e6ea876a95a69afd2a7093be79e4d98d..f389bebf42589474a8df0abcf82b42e84fe3d1f1 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ -# Realtime Kernel for Ubuntu 20.4 +# Realtime Kernel for Ubuntu 22.4 These are `deb` packages built for Ubuntu Bionic. The packages are created following advice from [Stackoverflow](https://stackoverflow.com/questions/51669724/install-rt-linux-patch-for-ubuntu) and the [Panda manuals](https://frankaemika.github.io/docs/installation_linux.html#setting-up-the-real-time-kernel). ## Information -The kernel is built automatically by the CI from the [linux kernel sources](https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/) version 5.13, using the latest kernel version for which a [real time patch](https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.13/) is available. For more information on how the kernel is built, please review the `compile.bash` script. +The kernel is built automatically by the CI from the [linux kernel sources](https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/) version 5.15, using the latest kernel version for which a [real time patch](https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.15/) is available. For more information on how the kernel is built, please review the `compile.bash` script. -It's `config` file is based on the config provided by a Ubuntu 20.04 installation with two changes: +It's `config` file is based on the config provided by a Ubuntu 22.04 installation with two changes: - The `preemption model` is set to `Fully Preemptible Kernel (RT)`. - `Compile the kernel with debug info (DEBUG_INFO)` is set to `no`. Before the build, if the new kernel version contains new config keys, the corresponding values are set to their defaults. -**⚠ ATTENTION** The packages are designed for **Ubuntu 20.4** only. While they may also work on newer versions of Ubuntu, we recommend to compile them yourself. +**⚠ ATTENTION** The packages are designed for **Ubuntu 22.4** only. While they may also work on newer versions of Ubuntu, we recommend to compile them yourself. You can use the provided shell script, which (using Ubuntu) reuqires the following packages `build-essential curl bison flex bc rsync kmod cpio lsb-release libssl-dev`. For increased compatibility, replace the config file provided here with a new configuration based on your system's current configuration. In this case, you must use a config tool like `make menuconfig` to set the `preemption model` to `Fully Preemptible Kernel (RT)`. diff --git a/compile.bash b/compile.bash index b2b0cc484554e9a2ae506c41b39f7149e430caa8..faa4bee1fb7c38e09979447ebf1672e034fd0775 100755 --- a/compile.bash +++ b/compile.bash @@ -3,8 +3,8 @@ # get current kernel and realtime patch version VERSION=5.15 FILE=`curl -s https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/${VERSION}/` -KERNEL=70 -RTPATCH=50 +KERNEL=113 +RTPATCH=64 echo "using kernel $VERSION.$KERNEL with realtime patch $RTPATCH" # get kernel file names and location @@ -48,7 +48,7 @@ patch -p1 < ../${PATCHFILE} # build the kernel -# use the kernel config build on a normal ubuntu 20.4 +# use the kernel config build on a normal ubuntu 22.4 cp ../config .config # update config with defaults if new options have been added make olddefconfig