From 4b9015faeff28b0da0f4a983570100f87945abab Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Mon, 10 Apr 2017 18:19:38 +0200 Subject: [PATCH] packaging: fetch android.img from aws --- packaging/snap/snapcraft.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/snap/snapcraft.yaml b/packaging/snap/snapcraft.yaml index 6822c33e..7c4fac0a 100644 --- a/packaging/snap/snapcraft.yaml +++ b/packaging/snap/snapcraft.yaml @@ -19,7 +19,11 @@ apps: parts: android-images: plugin: dump - source: ../../android-images + install: | + # FIXME: downloading with a source: field doesn't work as snapcraft + # expects the downloaded file to be an archive it can extract. + wget https://s3.eu-central-1.amazonaws.com/anbox/images/anbox-android-1.img + mv anbox-android-1.img $SNAPCRAFT_PART_INSTALL/android.img anbox-common: plugin: dump source: ../../scripts -- GitLab