1
0

Basic kernel autogeneration (based on current config) implementation

This commit is contained in:
2018-11-28 22:41:17 +00:00
parent 804e0b4879
commit 8eff63f2b9
5 changed files with 272 additions and 0 deletions

View File

@ -21,6 +21,12 @@ type KernelMask struct {
ReleaseMask string
}
func (km KernelMask) DockerName() string {
distro := strings.ToLower(km.DistroType.String())
release := strings.Replace(km.DistroRelease, ".", "", -1)
return fmt.Sprintf("out_of_tree_%s_%s", distro, release)
}
type ArtifactType int
const (