From 2196d7bedf12049af628891f654da14ff6358512 Mon Sep 17 00:00:00 2001 From: Paul Keith Date: Wed, 8 Aug 2018 18:01:03 +0200 Subject: [PATCH] gapps: null out space checks for Pi (for now) * We need arch specific space requirements, which might be more appropriate in addition for some arch checking --- build/meta/com/google/android/update-binary | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/build/meta/com/google/android/update-binary b/build/meta/com/google/android/update-binary index 2c71110..fe53057 100644 --- a/build/meta/com/google/android/update-binary +++ b/build/meta/com/google/android/update-binary @@ -80,14 +80,14 @@ fi LOWMEM=1572864 MEM=`grep MemTotal /proc/meminfo | awk '{ print $2 }'` -LOW_STORAGE=153600 -REALLY_LOW_STORAGE=92160 -STORAGE=`exec_util "df /system" | grep -v Filesystem | awk '{ print $4 }'` +#LOW_STORAGE=153600 +#REALLY_LOW_STORAGE=92160 +#STORAGE=`exec_util "df /system" | grep -v Filesystem | awk '{ print $4 }'` -if [ "$STORAGE" -lt "$REALLY_LOW_STORAGE" ]; then - ui_print "Not enough space for GApps! Aborting" - exit 1 -fi +#if [ "$STORAGE" -lt "$REALLY_LOW_STORAGE" ]; then +# ui_print "Not enough space for GApps! Aborting" +# exit 1 +#fi ui_print "Extracting files" cd /tmp @@ -95,7 +95,7 @@ unzip -o "$ZIP" exec_util "rm -rf META-INF" cd system -if [ "$MEM" -lt "$LOWMEM" ] || [ "$STORAGE" -lt "$LOW_STORAGE" ]; then +if [ "$MEM" -lt "$LOWMEM" ]; then #|| [ "$STORAGE" -lt "$LOW_STORAGE" ]; then ui_print "Low resource device detected, removing large extras" exec_util "rm -rf priv-app/AndroidMigratePrebuilt" exec_util "rm -rf priv-app/SetupWizard"