Skip to content

Commit

Permalink
Merge pull request kata-containers#4439 from amshinde/update-kernel-t…
Browse files Browse the repository at this point in the history
…o-5.15.46

versions: Update kernel to latest LTS version 5.15.48
  • Loading branch information
amshinde authored Jun 24, 2022
2 parents 083ca5f 93874cb commit 2488a0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/packaging/kernel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 47,7 @@ Options:
-g <vendor> : GPU vendor, intel or nvidia.
-h : Display this help.
-k <path> : Path to kernel to build.
-p <path> : Path to a directory with patches to apply to kernel.
-p <path> : Path to a directory with patches to apply to kernel, only patches in top-level directory are applied.
-t <hypervisor> : Hypervisor_target.
-v <version> : Kernel version to use if kernel path not provided.
```
Expand Down Expand Up @@ -76,7 76,7 @@ $ ./build-kernel.sh setup
The script `./build-kernel.sh` tries to apply the patches from
`${GOPATH}/src/github.com/kata-containers/kata-containers/tools/packaging/kernel/patches/` when it
sets up a kernel. If you want to add a source modification, add a patch on this
directory.
directory. Patches present in the top-level directory are applied, with subdirectories being ignored.

The script also adds a kernel config file from
`${GOPATH}/src/github.com/kata-containers/kata-containers/tools/packaging/kernel/configs/` to `.config`
Expand Down
2 changes: 1 addition & 1 deletion tools/packaging/scripts/apply_patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 36,7 @@ fi

echo "INFO: Apply patches from $patches_dir"
if [ -d "$patches_dir" ]; then
patches=($(find "$patches_dir" -name '*.patch'|sort -t- -k1,1n))
patches=($(find "$patches_dir" -maxdepth 1 -name '*.patch'|sort -t- -k1,1n))
echo "INFO: Found ${#patches[@]} patches"
for patch in ${patches[@]}; do
echo "INFO: Apply $patch"
Expand Down
2 changes: 1 addition & 1 deletion versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 153,7 @@ assets:
kernel:
description: "Linux kernel optimised for virtual machines"
url: "https://cdn.kernel.org/pub/linux/kernel/v5.x/"
version: "v5.15.26"
version: "v5.15.48"
tdx:
description: "Linux kernel that supports TDX"
url: "https://github.com/intel/tdx/archive/refs/tags"
Expand Down

0 comments on commit 2488a0f

Please sign in to comment.