1
0

fix: support updating containers

This commit is contained in:
2023-05-24 16:43:25 +00:00
parent ee90bfaa72
commit abcf2c1013
2 changed files with 14 additions and 1 deletions

View File

@ -128,7 +128,9 @@ func (cmd *KernelCmd) GenKernel(km config.Target, pkg string, max *int) {
}
func (cmd *KernelCmd) Generate(g *Globals, km config.Target, max int) (err error) {
// TODO cmd.Update
if cmd.Update {
container.Update = true
}
cmd.kcfg, err = config.ReadKernelConfig(g.Config.Kernels)
if err != nil {