feat!: new kernel config structure
BREAKING CHANGE: kernel definition in the configuration files has switched from [[targets]] distro = { id = "Ubuntu", release = "18.04" } release_mask = ".*" to [[targets]] distro = { id = "Ubuntu", release = "18.04" } kernel = { regex = ".*" }
This commit is contained in:
@ -25,8 +25,8 @@ func TestMatch(t *testing.T) {
|
||||
config.Directory = tmp
|
||||
|
||||
km := config.Target{
|
||||
ReleaseMask: "3.2.0-4",
|
||||
Distro: distro.Distro{Release: "7"},
|
||||
Distro: distro.Distro{Release: "7"},
|
||||
Kernel: config.Kernel{Regex: "3.2.0-4"},
|
||||
}
|
||||
|
||||
pkgs, err := Match(km)
|
||||
|
Reference in New Issue
Block a user