Initial snapshot support. Building now requires KVM too

This commit is contained in:
Anton Malinskiy
2018-11-20 13:48:45 +07:00
parent 254bb45a10
commit 22059da438
7 changed files with 129 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
SHELL := /usr/bin/env bash
VERSIONS = android-16 android-17 android-18 android-19 android-21 android-22 android-23 android-24 android-25 android-26
VERSIONS = android-26
generate:
for version in $(VERSIONS); do \
@@ -8,6 +8,9 @@ generate:
sed "s/{{ platform }}/$$version/g" templates/config.ini > build/$$version/config.ini ; \
sed "s/{{ platform }}/$$version/g" templates/start.sh > build/$$version/start.sh ; \
sed "s/{{ platform }}/$$version/g" templates/Makefile > build/$$version/Makefile ; \
sed "s/{{ platform }}/$$version/g" templates/snapshot.sh > build/$$version/snapshot.sh ; \
sed "s/{{ platform }}/$$version/g" templates/snapshot.expect > build/$$version/snapshot.expect ; \
sed "s/{{ platform }}/$$version/g" templates/take_snapshot.sh > build/$$version/take_snapshot.sh ; \
cp base/* ./build/$$version ; \
done