From 905e423f9c378f68a27c729d15b5c326d0785e3e Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Tue, 19 Dec 2023 09:47:40 +0100 Subject: [PATCH] fix(pkg/driverbuilder): fixed debian rpi drivers build. Signed-off-by: Federico Di Pierro --- pkg/driverbuilder/builder/debian.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/driverbuilder/builder/debian.go b/pkg/driverbuilder/builder/debian.go index b76ed067..57adf016 100644 --- a/pkg/driverbuilder/builder/debian.go +++ b/pkg/driverbuilder/builder/debian.go @@ -68,6 +68,8 @@ func (v *debian) TemplateData(c Config, kr kernelrelease.KernelRelease, urls []s var KernelHeadersPattern string if strings.HasSuffix(kr.Extraversion, "pve") { KernelHeadersPattern = "linux-headers-*pve" + } else if strings.Contains(kr.FullExtraversion, "rpi") { + KernelHeadersPattern = "linux-headers-*-rpi-v*" } else { KernelHeadersPattern = "linux-headers-*" + kr.Architecture.String() }