aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/kernel.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-26 21:56:09 +0900
committerOphestra <cat@gensokyo.uk>2026-01-26 21:56:36 +0900
commit76c657177dfabd69a867d9677f6305fcc142b4b6 (patch)
treeecb425260b37c3809657289fb478bf619d6a655f /internal/rosa/kernel.go
parent4356f978aa32d903b70f8408375a609091eb0ddb (diff)
internal/rosa: patch ignore whitespace
This makes it work better with patches emitted by git. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/kernel.go')
-rw-r--r--internal/rosa/kernel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/kernel.go b/internal/rosa/kernel.go
index a61b85eb..96e3bffe 100644
--- a/internal/rosa/kernel.go
+++ b/internal/rosa/kernel.go
@@ -23,7 +23,7 @@ export LLVM=1
export HOSTLDFLAGS="${LDFLAGS}"
cd /usr/src/linux
`+script, pkg.Path(AbsUsrSrc.Append("linux"), true, t.NewPatchedSource(
- "kernel", pkg.NewHTTPGetTar(
+ "kernel", version, pkg.NewHTTPGetTar(
nil,
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/"+
"snapshot/linux-"+version+".tar.gz",