diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-12 15:19:57 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-12 15:19:57 +0900 |
| commit | 9f8fafa39b9e737dfd5a7b1f7920d51f3742f2b8 (patch) | |
| tree | 65b4d31f85b8b59d6ab76217e9294b31f19afe1f | |
| parent | 6643cfbeee181ee1bd543e2b3783bb5a8c01ad13 (diff) | |
internal/rosa: measure kernel headers
This makes version bumps robust and much less tedious.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/kernel.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/rosa/kernel.go b/internal/rosa/kernel.go index 42fcbdc4..b221345c 100644 --- a/internal/rosa/kernel.go +++ b/internal/rosa/kernel.go @@ -29,8 +29,10 @@ func init() { } func (t Toolchain) newKernelHeaders() (pkg.Artifact, string) { + const checksum = "lCmBNcMeUmXifg0vecKOPy3GAaFcJSmOPnf3wit9xYTDSTsFADPt1xxUFfmTn1fD" return t.NewPackage("kernel-headers", kernelVersion, kernelSource, &PackageAttr{ - Flag: TEarly, + Flag: TEarly, + KnownChecksum: new(mustDecode(checksum)), Paths: []pkg.ExecPath{ // updated manually for API changes |
