Skip to content

Commit 8aec436

Browse files
author
Rafael Garcia
committed
Merge main: update to kernel-1.2-20251213 with NVIDIA + networking support
Merge Steven's networking config changes (NETFILTER, BRIDGE, dependencies) with NVIDIA GPU passthrough support (CONFIG_MODULES, CONFIG_DRM, NVIDIA modules/libs). New kernel release: ch-6.12.8-kernel-1.2-20251213
2 parents c8f18bd + 2db3dff commit 8aec436

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v5
2222
with:
23+
# Not necessary to upload cache on self-hosted runner(s)
24+
# ~/go/pkg/mod and ~/.cache/go-build stay on disk between runs automatically.
25+
cache: false
2326
go-version: '1.25'
2427

2528
- name: Run GoReleaser

lib/system/versions.go

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@ type KernelVersion string
88
const (
99
// Kernel versions from onkernel/linux releases
1010
Kernel_202511182 KernelVersion = "ch-6.12.8-kernel-1-202511182"
11-
Kernel_20251211 KernelVersion = "ch-6.12.8-kernel-2-20251211" // NVIDIA module + driver lib support
11+
Kernel_20251211 KernelVersion = "ch-6.12.8-kernel-1.1-20251211"
12+
Kernel_20251213 KernelVersion = "ch-6.12.8-kernel-1.2-20251213" // NVIDIA module + driver lib support + networking configs
1213
)
1314

1415
var (
1516
// DefaultKernelVersion is the kernel version used for new instances
16-
DefaultKernelVersion = Kernel_20251211
17+
DefaultKernelVersion = Kernel_20251213
1718

1819
// SupportedKernelVersions lists all supported kernel versions
1920
SupportedKernelVersions = []KernelVersion{
2021
Kernel_202511182,
2122
Kernel_20251211,
23+
Kernel_20251213,
2224
// Add future versions here
2325
}
2426
)
@@ -30,36 +32,40 @@ var KernelDownloadURLs = map[KernelVersion]map[string]string{
3032
"aarch64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-1-202511182/Image-arm64",
3133
},
3234
Kernel_20251211: {
33-
"x86_64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-2-20251211/vmlinux-x86_64",
34-
"aarch64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-2-20251211/Image-arm64",
35+
"x86_64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-1.1-20251211/vmlinux-x86_64",
36+
"aarch64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-1.1-20251211/Image-arm64",
37+
},
38+
Kernel_20251213: {
39+
"x86_64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-1.2-20251213/vmlinux-x86_64",
40+
"aarch64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-1.2-20251213/Image-arm64",
3541
},
3642
// Add future versions here
3743
}
3844

3945
// NvidiaModuleURLs maps kernel versions and architectures to NVIDIA module tarball URLs
4046
// These tarballs contain pre-built NVIDIA kernel modules that match the kernel version
4147
var NvidiaModuleURLs = map[KernelVersion]map[string]string{
42-
Kernel_20251211: {
43-
"x86_64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-2-20251211/nvidia-modules-x86_64.tar.gz",
48+
Kernel_20251213: {
49+
"x86_64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-1.2-20251213/nvidia-modules-x86_64.tar.gz",
4450
// Note: NVIDIA open-gpu-kernel-modules does not support arm64 yet
4551
},
46-
// Kernel_202511182 does not have NVIDIA modules (pre-module-support kernel)
52+
// Kernel_202511182 and Kernel_20251211 do not have NVIDIA modules (pre-module-support kernels)
4753
}
4854

4955
// NvidiaDriverLibURLs maps kernel versions and architectures to driver library tarball URLs
5056
// These tarballs contain userspace NVIDIA libraries (libcuda.so, libnvidia-ml.so, etc.)
5157
// that match the kernel modules and are injected into containers at boot time.
5258
// See lib/devices/GPU.md for documentation on driver injection.
5359
var NvidiaDriverLibURLs = map[KernelVersion]map[string]string{
54-
Kernel_20251211: {
55-
"x86_64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-2-20251211/nvidia-driver-libs-x86_64.tar.gz",
60+
Kernel_20251213: {
61+
"x86_64": "https://github.com/onkernel/linux/releases/download/ch-6.12.8-kernel-1.2-20251213/nvidia-driver-libs-x86_64.tar.gz",
5662
},
5763
}
5864

5965
// NvidiaDriverVersion tracks the NVIDIA driver version bundled with each kernel
6066
var NvidiaDriverVersion = map[KernelVersion]string{
61-
Kernel_20251211: "570.86.16",
62-
// Kernel_202511182 does not have NVIDIA modules
67+
Kernel_20251213: "570.86.16",
68+
// Kernel_202511182 and Kernel_20251211 do not have NVIDIA modules
6369
}
6470

6571
// GetArch returns the architecture string for the current platform

0 commit comments

Comments
 (0)