Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-update to linux-6.7.tar.xz #434

Merged
merged 1 commit into from Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion cmd/rtr7-build-kernel/build.go
Expand Up @@ -28,7 +28,7 @@ import (
)

// see https://www.kernel.org/releases.json
var latest = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.10.tar.xz"
var latest = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.7.tar.xz"

const configAddendum = `
CONFIG_IPV6=y
Expand Down Expand Up @@ -261,6 +261,10 @@ CONFIG_DEFAULT_TCP_CONG="bbr"
# make[4]: *** [drivers/gpu/drm/i915] Error 2
# make[3]: *** [drivers/gpu/drm] Error 2
CONFIG_WERROR=n

# Enable zstd compression to stay below 15 MB, which is the size of Extended Memory.
# This is relevant to keep the kernel booting with the minimal MBR loader we use.
CONFIG_KERNEL_ZSTD=y
`

func downloadKernel() error {
Expand Down
4 changes: 2 additions & 2 deletions cmd/rtr7-rebuild-kernel/kernel.go
Expand Up @@ -28,9 +28,9 @@ import (
)

const dockerFileContents = `
FROM debian:buster
FROM debian:bookworm

RUN apt-get update && apt-get install -y crossbuild-essential-arm64 bc libssl-dev bison flex libelf-dev ncurses-dev
RUN apt-get update && apt-get install -y build-essential bc libssl-dev bison flex libelf-dev ncurses-dev ca-certificates zstd

COPY rtr7-build-kernel /usr/bin/rtr7-build-kernel
{{- range $idx, $path := .Patches }}
Expand Down
Binary file modified vmlinuz
Binary file not shown.