diff --git a/pkg/driverbuilder/builder/fedora.go b/pkg/driverbuilder/builder/fedora.go index a8d6983..606fbcb 100644 --- a/pkg/driverbuilder/builder/fedora.go +++ b/pkg/driverbuilder/builder/fedora.go @@ -85,6 +85,13 @@ func (c *fedora) URLs(kr kernelrelease.KernelRelease) ([]string, error) { kr.Fullversion, kr.FullExtraversion, ), + fmt.Sprintf( // updates-archive + "https://fedoraproject-updates-archive.fedoraproject.org/fedora/%s/%s/kernel-devel-%s%s.rpm", + version, + kr.Architecture.ToNonDeb(), + kr.Fullversion, + kr.FullExtraversion, + ), } // return out all possible urls diff --git a/pkg/driverbuilder/local.go b/pkg/driverbuilder/local.go index c54bf94..8bf4d31 100644 --- a/pkg/driverbuilder/local.go +++ b/pkg/driverbuilder/local.go @@ -103,6 +103,8 @@ func (lbp *LocalBuildProcessor) Start(b *builder.Build) error { } else { lbp.Logger.Warn("Failed to download headers.", lbp.Logger.Args("err", err)) } + } else { + lbp.Logger.Warn("Failed to generate script.", lbp.Logger.Args("err", err)) } } else { lbp.Logger.Info("Skipping kernel headers automatic download.", lbp.Logger.Args("err", err))