1
0

Remove bootstrap, download images on-demand

This commit is contained in:
2019-08-20 09:09:38 +00:00
parent 86ad71f230
commit 1ffd68601c
10 changed files with 160 additions and 130 deletions

View File

@ -16,7 +16,7 @@ import (
)
func packHandler(db *sql.DB, path string, kcfg config.KernelConfig,
autogen bool, exploitRuns, kernelRuns int64) (err error) {
autogen, download bool, exploitRuns, kernelRuns int64) (err error) {
dockerTimeout := time.Minute
qemuTimeout := time.Minute
@ -39,7 +39,7 @@ func packHandler(db *sql.DB, path string, kcfg config.KernelConfig,
if autogen {
var perRegex int64 = 1
err = kernelAutogenHandler(workPath, perRegex, false)
err = kernelAutogenHandler(workPath, perRegex, false, download)
if err != nil {
return
}