Avoid "module name is too long" error
This commit is contained in:
parent
7b49ba8d97
commit
f8944f8f48
3
main.go
3
main.go
@ -133,8 +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("%s_%s-%s-%s", ka.Name, ki.DistroType,
|
target := fmt.Sprintf("%d_%s", rand.Int(), ki.DistroRelease)
|
||||||
ki.DistroRelease, ki.KernelRelease)
|
|
||||||
|
|
||||||
tmpSourcePath := tmp + "/source"
|
tmpSourcePath := tmp + "/source"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user