Allow building inline without Google SuW and Velvet

* And remove Velvet for low-ram devices
This commit is contained in:
Paul Keith
2018-02-20 00:45:57 +01:00
parent 2f303e71bf
commit f73c84ce47
7 changed files with 30 additions and 15 deletions

View File

@@ -72,8 +72,9 @@ unzip -o "$ZIP"
exec_util "rm -rf META-INF"
cd system
if [ "$MEM" -lt "$LOWMEM" ]; then
ui_print "Low RAM device detected, removing Google SuW"
ui_print "Low RAM device detected, removing large extras"
exec_util "rm -rf priv-app/SetupWizard"
exec_util "rm -rf priv-app/Velvet"
fi
ui_print "Generating addon.d file"
cat addon.d/addond_head > addon.d/30-gapps.sh