From e825006ce0f9e0e98cd04e1f25891ad5a733ab1e Mon Sep 17 00:00:00 2001 From: Marco Vanotti Date: Thu, 28 Mar 2019 16:37:57 -0700 Subject: [PATCH] pkg/build: Add ssh tools for fuchsia. This commit adds the "//bundles:tools" packages to the fuchsia build used for syzkaller. This includes ssh tools, which includes scp. TEST=I have tested this on syz-ci. Fuchsia is now able to pass the image test. --- pkg/build/fuchsia.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/build/fuchsia.go b/pkg/build/fuchsia.go index cc2e202d..b363b4fb 100644 --- a/pkg/build/fuchsia.go +++ b/pkg/build/fuchsia.go @@ -24,6 +24,7 @@ func (fu fuchsia) build(targetArch, vmType, kernelDir, outputDir, compiler, user product := fmt.Sprintf("%s.%s", "core", arch) if _, err := osutil.RunCmd(time.Hour, kernelDir, "scripts/fx", "set", product, "--args", `extra_authorized_keys_file="//.ssh/authorized_keys"`, + "--with-base", "//bundles:tools", "--build-dir", "out/"+arch); err != nil { return err }