summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 3be37be..31b180c 100644
--- a/build.sh
+++ b/build.sh
@@ -41,6 +41,11 @@ function setup_code() {
cp "$thisdir"/manifest/dakkar.xml .repo/local_manifests/
rm -f .repo/local_manifests/replace.xml
+ # Remove exfat entry from local_manifest if it exists in ROM manifest
+ if grep -rqF exfat .repo/manifests || grep -qF exfat .repo/manifest.xml; then
+ sed -i -E '/external\/exfat/d' .repo/local_manifests/manifest.xml
+ fi
+
# patches
clone_or_checkout patches https://github.com/phhusson/treble_patches android-8.1