From ff1712fe925b6acf5dec3cd7616cf03effc97f62 Mon Sep 17 00:00:00 2001 From: Cameron Finucane Date: Tue, 7 Oct 2025 14:19:25 -0700 Subject: 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. --- pkg/build/starnix.go | 9 +++++++++ 1 file changed, 9 insertions(+) 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, -- cgit mrf-deployment