Skip to content

Commit ff1712f

Browse files
committed
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.
1 parent 7e2882b commit ff1712f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkg/build/starnix.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ func (st starnix) build(params Params) (ImageDetails, error) {
5959
if err := osutil.SandboxChown(localDir); err != nil {
6060
return ImageDetails{}, err
6161
}
62+
63+
if _, err := runSandboxed(
64+
30*time.Second,
65+
params.KernelDir,
66+
"scripts/fx", "build-profile", "disable",
67+
); err != nil {
68+
return ImageDetails{}, err
69+
}
70+
6271
buildSubdir := "out/" + arch
6372
if _, err := runSandboxed(
6473
time.Hour,

0 commit comments

Comments
 (0)