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.
This commit is contained in:
Marco Vanotti 2019-03-28 16:37:57 -07:00 committed by Dmitry Vyukov
parent 14c58f8d23
commit e825006ce0

View File

@ -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
}