feat!: introduce new distribution structure
BREAKING CHANGE: distro definition in the configuration files has switched
from
[[supported_kernels]]
distro_type = "Ubuntu"
distro_release = "16.04"
...
to
[[supported_kernels]]
distro = { id = "Ubuntu", release = "16.04" }
...
This commit is contained in:
@@ -101,9 +101,9 @@ func buildPreload(workPath, tmp string, ki config.KernelInfo,
|
||||
|
||||
ka.SourcePath = workPath
|
||||
|
||||
km := config.KernelMask{DistroType: ki.DistroType,
|
||||
DistroRelease: ki.DistroRelease,
|
||||
ReleaseMask: ki.KernelRelease,
|
||||
km := config.KernelMask{
|
||||
Distro: ki.Distro,
|
||||
ReleaseMask: ki.KernelRelease,
|
||||
}
|
||||
ka.SupportedKernels = []config.KernelMask{km}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user