diff options
| -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, |
