From 3633363a5972e61afab1f7f8aef9d9c72e16ee27 Mon Sep 17 00:00:00 2001 From: Andrea Jemmett <1787979+acidghost@users.noreply.github.com> Date: Mon, 12 Aug 2024 11:14:07 +0200 Subject: [PATCH] chore(pkg/driverbuilder): log warn if no download script was generated Signed-off-by: Andrea Jemmett <1787979+acidghost@users.noreply.github.com> --- pkg/driverbuilder/local.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/driverbuilder/local.go b/pkg/driverbuilder/local.go index c54bf949..8bf4d31d 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))