From e5fb9cf5f9e9fb6e1515a70b44b6942be76b1563 Mon Sep 17 00:00:00 2001 From: Kris Alder Date: Tue, 23 Aug 2022 10:47:53 -0700 Subject: pkg/build: don't call fetch_cvd for Android instances Since the worker instances don't have network access, they won't be able to download the Cuttlefish packages using this. Instead, we'll have to pre-install the Cuttlefish tools in the GCE image. --- pkg/build/android.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pkg') diff --git a/pkg/build/android.go b/pkg/build/android.go index b0bacdac3..3a809ba8b 100644 --- a/pkg/build/android.go +++ b/pkg/build/android.go @@ -96,10 +96,6 @@ func (a android) build(params Params) (ImageDetails, error) { if err := embedFiles(params, func(mountDir string) error { homeDir := filepath.Join(mountDir, "root") - if _, err := osutil.RunCmd(time.Hour, homeDir, "./fetch_cvd"); err != nil { - return err - } - if err := osutil.CopyFile(bzImage, filepath.Join(homeDir, "bzImage")); err != nil { return err } -- cgit mrf-deployment