Skip to content

Commit

Permalink
fix(pkg/driverbuilder): fixed archlinux kernel URLs support.
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 Jan 27, 2025
1 parent 743165d commit b59107a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions pkg/driverbuilder/builder/archlinux.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ func (c *archlinux) URLs(kr kernelrelease.KernelRelease) ([]string, error) {
urls = append(
urls,
fmt.Sprintf(
"%s/linux-headers-%s%s-%s.pkg.tar.%s",
"%s/linux-headers-%s-%s-%s.pkg.tar.%s",
baseURL,
kr.Fullversion,
kr.FullExtraversion,
kr.String(),
kr.KernelVersion,
kr.Architecture.ToNonDeb(),
compressionAlgo,
),
Expand All @@ -90,10 +90,10 @@ func (c *archlinux) URLs(kr kernelrelease.KernelRelease) ([]string, error) {
urls = append(
urls,
fmt.Sprintf(
"%s/linux-hardened-headers-%s%s-%s.pkg.tar.%s",
"%s/linux-hardened-headers-%s-%s-%s.pkg.tar.%s",
baseURL,
kr.Fullversion,
kr.FullExtraversion,
kr.String(),
kr.KernelVersion,
kr.Architecture.ToNonDeb(),
compressionAlgo,
),
Expand All @@ -105,10 +105,10 @@ func (c *archlinux) URLs(kr kernelrelease.KernelRelease) ([]string, error) {
urls = append(
urls,
fmt.Sprintf(
"%s/linux-zen-headers-%s%s-%s.pkg.tar.%s",
"%s/linux-zen-headers-%s-%s-%s.pkg.tar.%s",
baseURL,
kr.Fullversion,
kr.FullExtraversion,
kr.String(),
kr.KernelVersion,
kr.Architecture.ToNonDeb(),
compressionAlgo,
),
Expand All @@ -120,10 +120,10 @@ func (c *archlinux) URLs(kr kernelrelease.KernelRelease) ([]string, error) {
urls = append(
urls,
fmt.Sprintf(
"%s/linux-lts-headers-%s%s-%s.pkg.tar.%s",
"%s/linux-lts-headers-%s-%s-%s.pkg.tar.%s",
baseURL,
kr.Fullversion,
kr.FullExtraversion,
kr.String(),
kr.KernelVersion,
kr.Architecture.ToNonDeb(),
compressionAlgo,
),
Expand All @@ -136,10 +136,10 @@ func (c *archlinux) URLs(kr kernelrelease.KernelRelease) ([]string, error) {
urls = append(
urls,
fmt.Sprintf(
"%s/linux-aarch64-headers-%s%s-%s.pkg.tar.%s",
"%s/linux-aarch64-headers-%s-%s-%s.pkg.tar.%s",
baseURL,
kr.Fullversion,
kr.FullExtraversion,
kr.String(),
kr.KernelVersion,
kr.Architecture.ToNonDeb(),
compressionAlgo,
),
Expand Down

0 comments on commit b59107a

Please sign in to comment.