From 4d6caef219f9c294c61189943217b79c6c39c8a7 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 7 Oct 2018 17:25:27 +0000 Subject: [PATCH] Use kernel release instead of distro release for file name --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 94d9c21..2da6173 100644 --- a/main.go +++ b/main.go @@ -133,7 +133,7 @@ func dockerCommand(container, workdir, timeout, command string) *exec.Cmd { } func build(tmp string, ka artifact, ki kernelInfo) (outPath, output string, err error) { - target := fmt.Sprintf("%d_%s", rand.Int(), ki.DistroRelease) + target := fmt.Sprintf("%d_%s", rand.Int(), ki.KernelRelease) tmpSourcePath := tmp + "/source"