Use kernel release instead of distro release for file name
This commit is contained in:
parent
e223734d24
commit
4d6caef219
2
main.go
2
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) {
|
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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user