aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/build/gvisor.go
diff options
context:
space:
mode:
authorFlorent Revest <revest@chromium.org>2024-10-02 16:02:12 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-10-14 19:43:42 +0000
commit484e362fcff09b8b74162eefd0c3bfd67e829d94 (patch)
tree7db4c1f87a6c37073084a6b806978495297f6d25 /pkg/build/gvisor.go
parent2e5c6a5c1c62461b69c6f50a123885b9910fce04 (diff)
pkg/build: use the build environment in clean() calls
This unifies the build() and clean() interfaces such that if a custom compiler or make binary is provided in the manager or bisection config, they can be taken into account by the clean() interface.
Diffstat (limited to 'pkg/build/gvisor.go')
-rw-r--r--pkg/build/gvisor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/build/gvisor.go b/pkg/build/gvisor.go
index 49d78f2c7..077932938 100644
--- a/pkg/build/gvisor.go
+++ b/pkg/build/gvisor.go
@@ -95,7 +95,7 @@ func (gvisor gvisor) build(params Params) (ImageDetails, error) {
return ImageDetails{}, osutil.CopyFile(outBinary, filepath.Join(params.OutputDir, "obj", sysTarget.KernelObject))
}
-func (gvisor) clean(kernelDir, targetArch string) error {
+func (gvisor) clean(params Params) error {
// Let's assume that bazel always properly handles build without cleaning (until proven otherwise).
return nil
}