aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorKris Alder <kalder@google.com>2022-08-23 10:47:53 -0700
committerAleksandr Nogikh <wp32pw@gmail.com>2022-08-25 15:41:09 +0200
commite5fb9cf5f9e9fb6e1515a70b44b6942be76b1563 (patch)
tree70b72216141da7df2f4ddb39b828fc4de90ac039 /pkg
parent514514f61b1dec32386fca74dfe3875a277d1791 (diff)
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.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/build/android.go4
1 files changed, 0 insertions, 4 deletions
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
}