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

update kernel to 5.13

parent 048aaed0
No related branches found
No related tags found
No related merge requests found
Pipeline #12970 failed
...@@ -4,7 +4,7 @@ These are `deb` packages built for Ubuntu Bionic. The packages are created follo ...@@ -4,7 +4,7 @@ These are `deb` packages built for Ubuntu Bionic. The packages are created follo
## Information ## 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.4, using the latest kernel version for which a [real time patch](https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.4/) 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.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.
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 20.04 installation with two changes:
- The `preemption model` is set to `Fully Preemptible Kernel (RT)`. - The `preemption model` is set to `Fully Preemptible Kernel (RT)`.
......
#!/bin/bash #!/bin/bash
# get current kernel and realtime patch version # get current kernel and realtime patch version
VERSION=5.13
FILE=`curl -s https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.9/` FILE=`curl -s https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.13/`
KERNEL=`echo $FILE | sed -n 's/.*patch-5.9.\(.*\)-rt.*.patch.gz.*/\1/p'` KERNEL=`echo $FILE | sed -n 's/.*patch-5.13.\(.*\)-rt.*.patch.gz.*/\1/p'`
RTPATCH=`echo $FILE | sed -n 's/.*patch-5.9..*-rt\(.*\).patch.gz.*/\1/p'` RTPATCH=`echo $FILE | sed -n 's/.*patch-5.13..*-rt\(.*\).patch.gz.*/\1/p'`
echo "using kernel 5.9.$KERNEL with realtime patch $RTPATCH" echo "using kernel $VERSION.$KERNEL with realtime patch $RTPATCH"
# get kernel file names and location # get kernel file names and location
KERNELURL=https://www.kernel.org/pub/linux/kernel/v5.x/ KERNELURL=https://www.kernel.org/pub/linux/kernel/v5.x/
KERNELNAME=linux-5.9.${KERNEL} KERNELNAME=linux-${VERSION}.${KERNEL}
KERNELFILE=linux-5.9.${KERNEL}.tar KERNELFILE=linux-${VERSION}.${KERNEL}.tar
KERNELFILEXZ=linux-5.9.${KERNEL}.tar.xz KERNELFILEXZ=linux-${VERSION}.${KERNEL}.tar.xz
KERNELSIGN=linux-5.9.${KERNEL}.tar.sign KERNELSIGN=linux-${VERSION}.${KERNEL}.tar.sign
PATCHURL=https://www.kernel.org/pub/linux/kernel/projects/rt/5.9/ PATCHURL=https://www.kernel.org/pub/linux/kernel/projects/rt/${VERSION}/
PATCHFILE=patch-5.9.${KERNEL}-rt${RTPATCH}.patch PATCHFILE=patch-${VERSION}.${KERNEL}-rt${RTPATCH}.patch
PATCHFILEXZ=patch-5.9.${KERNEL}-rt${RTPATCH}.patch.xz PATCHFILEXZ=patch-${VERSION}.${KERNEL}-rt${RTPATCH}.patch.xz
PATCHSIGN=patch-5.9.${KERNEL}-rt${RTPATCH}.patch.sign PATCHSIGN=patch-${VERSION}.${KERNEL}-rt${RTPATCH}.patch.sign
# download kernel # download kernel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment