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() }