From c35c63953a305ba94a28f83789e54f674e4fad8c Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 2 Jun 2019 12:09:40 +0100 Subject: copy from phh: avoid duplicate exfat component --- build.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3