internal/rosa: patch ignore whitespace

This makes it work better with patches emitted by git.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-26 21:56:09 +09:00
parent 4356f978aa
commit 76c657177d
3 changed files with 10 additions and 5 deletions

View File

@@ -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",