From a5e57cee14e9e19155d8396d85e7a4eb2ee68394 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Sat, 26 Dec 2020 22:52:06 +0100 Subject: [PATCH] Exclude addon.d fragments from backup --- build/meta/com/google/android/update-binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/meta/com/google/android/update-binary b/build/meta/com/google/android/update-binary index 57c44c1..df0c8fa 100644 --- a/build/meta/com/google/android/update-binary +++ b/build/meta/com/google/android/update-binary @@ -209,7 +209,7 @@ fi ui_print "Generating addon.d file" cat addon.d/addond_head > addon.d/30-gapps.sh -for f in `find . -type f`; do +for f in `find . ! -path "./addon.d/*" -type f`; do line=$(echo "$f" | sed 's/\.\///') echo "$line" >> addon.d/30-gapps.sh done