Fix a few things in snapcraft.yaml to get the build back working
This commit is contained in:
parent
c5c5df85dc
commit
2e479e26ee
1 changed files with 9 additions and 3 deletions
|
|
@ -19,14 +19,18 @@ apps:
|
||||||
parts:
|
parts:
|
||||||
android-images:
|
android-images:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
|
build-packages:
|
||||||
|
- wget
|
||||||
install: |
|
install: |
|
||||||
# FIXME: downloading with a source: field doesn't work as snapcraft
|
# FIXME: downloading with a source: field doesn't work as snapcraft
|
||||||
# expects the downloaded file to be an archive it can extract.
|
# expects the downloaded file to be an archive it can extract.
|
||||||
wget http://build.anbox.io/android-images/2017/04/12/android_1_amd64.img
|
wget http://build.anbox.io/android-images/2017/04/12/android_1_amd64.img
|
||||||
mv anbox-android-1.img $SNAPCRAFT_PART_INSTALL/android.img
|
mv android_1_amd64.img $SNAPCRAFT_PART_INSTALL/android.img
|
||||||
|
prime:
|
||||||
|
- android.img
|
||||||
anbox-common:
|
anbox-common:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
source: ../../scripts
|
source: scripts
|
||||||
organize:
|
organize:
|
||||||
snap-wrapper.sh: bin/anbox-wrapper.sh
|
snap-wrapper.sh: bin/anbox-wrapper.sh
|
||||||
container-manager.sh: bin/container-manager.sh
|
container-manager.sh: bin/container-manager.sh
|
||||||
|
|
@ -75,7 +79,7 @@ parts:
|
||||||
plugin: cmake
|
plugin: cmake
|
||||||
after:
|
after:
|
||||||
- lxc
|
- lxc
|
||||||
source: ../../
|
source: .
|
||||||
configflags:
|
configflags:
|
||||||
# FIXME: Anbox currently has some paths with hard coded prefixes. Once
|
# FIXME: Anbox currently has some paths with hard coded prefixes. Once
|
||||||
# that is fixed we can avoid using a prefix here.
|
# that is fixed we can avoid using a prefix here.
|
||||||
|
|
@ -115,6 +119,8 @@ parts:
|
||||||
- libgl1-mesa-glx
|
- libgl1-mesa-glx
|
||||||
- libsdl2-2.0-0
|
- libsdl2-2.0-0
|
||||||
- libsdl2-gfx-1.0-0
|
- libsdl2-gfx-1.0-0
|
||||||
|
install: |
|
||||||
|
make test
|
||||||
prime:
|
prime:
|
||||||
- usr/bin/anbox
|
- usr/bin/anbox
|
||||||
- usr/lib/*-linux-*/
|
- usr/lib/*-linux-*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue