diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-11-05 14:07:53 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-06 11:41:05 +0100 |
| commit | 424cf6e8a12577719dc310bce2cce2a91723cf54 (patch) | |
| tree | c7d350c5cdc1e116d4502ac434229b2ffd88f3aa /pkg/instance | |
| parent | c487cd4633a98235359d6084383d8c7ea49600bc (diff) | |
pkg/build: add build signatures
Add optional build signature for images, currently only implemented for linux.
This can be used in bisection process to detect changes that does not affect kernel.
Update #1271
Diffstat (limited to 'pkg/instance')
| -rw-r--r-- | pkg/instance/instance.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index 163ef285a..e5370d7ee 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -103,7 +103,7 @@ func (env *env) BuildKernel(compilerBin, userspaceDir, cmdlineFile, sysctlFile s SysctlFile: sysctlFile, Config: kernelConfig, } - if err := build.Image(params); err != nil { + if _, err := build.Image(params); err != nil { return "", err } if err := SetConfigImage(env.cfg, imageDir, true); err != nil { |
