Skip to content

Commit

Permalink
auto-update to linux-6.7.tar.xz; enable zstd; upgrade buildenv (#434)
Browse files Browse the repository at this point in the history
automatically merged
  • Loading branch information
gokrazy-bot authored Jan 13, 2024
1 parent 9d3686b commit 304a623
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion cmd/rtr7-build-kernel/build.go
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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.

0 comments on commit 304a623

Please sign in to comment.