Skip to content
Snippets Groups Projects
Commit 122032d1 authored by Johannes Mey's avatar Johannes Mey
Browse files

update version, config still from ubuntu 20

parent 9d64d761
No related branches found
No related tags found
No related merge requests found
Pipeline #16458 failed
......@@ -2,7 +2,7 @@ stages:
- build
build-kernel:
image: ubuntu:focal
image: ubuntu:humble
stage: build
artifacts:
paths:
......
# 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)`.
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment