1
0

feat: multiple commands to run in container

This commit is contained in:
2023-05-23 20:46:09 +00:00
parent e302c447f5
commit c6e06d8e3e
6 changed files with 17 additions and 10 deletions

View File

@ -172,7 +172,7 @@ func installKernel(sk config.Target, pkgname string, force, headers bool) (err e
cmd += " && cp -r /usr/src /target/usr/"
}
_, err = c.Run("", cmd)
_, err = c.Run("", []string{cmd})
if err != nil {
return
}