1
0

Use kernel release instead of distro release for file name

This commit is contained in:
dump_stack() 2018-10-07 17:25:27 +00:00
parent e223734d24
commit 4d6caef219

View File

@ -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) { 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" tmpSourcePath := tmp + "/source"