We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deb7287 commit 89a3503Copy full SHA for 89a3503
pkg/build/starnix.go
@@ -59,11 +59,11 @@ func (st starnix) build(params Params) (ImageDetails, error) {
59
if err := osutil.SandboxChown(localDir); err != nil {
60
return ImageDetails{}, err
61
}
62
- buildDir := filepath.Join(params.KernelDir, "out/"+arch)
+ buildSubdir := "out/" + arch
63
if _, err := runSandboxed(
64
time.Hour,
65
params.KernelDir,
66
- "scripts/fx", "--dir", buildDir,
+ "scripts/fx", "--dir", buildSubdir,
67
"set", product,
68
"--assembly-override", fmt.Sprintf("//products/workbench/*=//local:%s", overrideName),
69
); err != nil {
@@ -82,7 +82,7 @@ func (st starnix) build(params Params) (ImageDetails, error) {
82
83
ffxBinary,
84
"--no-environment",
85
- "-c", filepath.Join(buildDir, ffxBuildConfig),
+ "-c", filepath.Join(params.KernelDir, buildSubdir, ffxBuildConfig),
86
"-c", "log.enabled=false,ffx.analytics.disabled=true,daemon.autostart=false",
87
"config", "get", "product.path",
88
)
0 commit comments