feat: add distro type/release to target name
This commit is contained in:
parent
d45d5731a9
commit
6df94d7e15
3
pew.go
3
pew.go
@ -239,7 +239,8 @@ func build(flog zerolog.Logger, tmp string, ka config.Artifact,
|
|||||||
ki config.KernelInfo, dockerTimeout time.Duration) (
|
ki config.KernelInfo, dockerTimeout time.Duration) (
|
||||||
outdir, outpath, output string, err error) {
|
outdir, outpath, output string, err error) {
|
||||||
|
|
||||||
target := fmt.Sprintf("%d_%s", rand.Int(), ki.KernelRelease)
|
target := fmt.Sprintf("%s-%s-%s",
|
||||||
|
ki.DistroType, ki.DistroRelease, ki.KernelVersion)
|
||||||
|
|
||||||
outdir = tmp + "/source"
|
outdir = tmp + "/source"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user