Skip to content

Commit

Permalink
fix(pkg/driverbuilder): fixed debian rpi drivers build.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Dec 20, 2023
1 parent 98be201 commit 905e423
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/driverbuilder/builder/debian.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 905e423

Please sign in to comment.