1
0

refactor: move container functions to submodule

This commit is contained in:
2023-05-13 10:14:45 +00:00
parent 2c2435a7a5
commit ebc597ff0b
6 changed files with 246 additions and 227 deletions

View File

@@ -16,6 +16,7 @@ import (
"github.com/zcalusic/sysinfo"
"code.dumpstack.io/tools/out-of-tree/config"
"code.dumpstack.io/tools/out-of-tree/container"
"code.dumpstack.io/tools/out-of-tree/fs"
)
@@ -44,7 +45,7 @@ func genHostKernels(download bool) (kcfg config.KernelConfig, err error) {
}
// only for compatibility, docker is not really used
dii := containerImageInfo{
dii := container.Image{
Name: config.KernelMask{
DistroType: distroType,
DistroRelease: si.OS.Version,