diff options
| author | Cameron Finucane <eep@google.com> | 2025-10-07 14:19:25 -0700 |
|---|---|---|
| committer | eepeep <50846949+eepeep@users.noreply.github.com> | 2025-10-09 22:34:38 +0000 |
| commit | ff1712fe925b6acf5dec3cd7616cf03effc97f62 (patch) | |
| tree | 82e18b5b04791d985d0b27ac944bafea952e25d5 | |
| parent | 7e2882b32698b70f3149aee00c41e3d2d941dca3 (diff) | |
pkg/build: disable build profiling for Fuchsia builds
This was recently enabled by default and depends on external tools not
present on the syzkaller instances.
| -rw-r--r-- | pkg/build/starnix.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/build/starnix.go b/pkg/build/starnix.go index 712bc5b4c..ce1db29fb 100644 --- a/pkg/build/starnix.go +++ b/pkg/build/starnix.go @@ -59,6 +59,15 @@ func (st starnix) build(params Params) (ImageDetails, error) { if err := osutil.SandboxChown(localDir); err != nil { return ImageDetails{}, err } + + if _, err := runSandboxed( + 30*time.Second, + params.KernelDir, + "scripts/fx", "build-profile", "disable", + ); err != nil { + return ImageDetails{}, err + } + buildSubdir := "out/" + arch if _, err := runSandboxed( time.Hour, |
