summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2019-06-02 12:09:40 +0100
committerdakkar <dakkar@thenautilus.net>2019-06-02 12:09:40 +0100
commitc35c63953a305ba94a28f83789e54f674e4fad8c (patch)
tree2c535de76efa57468528007e5755a55b4be632d2
parentcopy from phh: "make sync better" (diff)
downloaddakkar-android-huawei-m5-c35c63953a305ba94a28f83789e54f674e4fad8c.tar.gz
dakkar-android-huawei-m5-c35c63953a305ba94a28f83789e54f674e4fad8c.tar.bz2
dakkar-android-huawei-m5-c35c63953a305ba94a28f83789e54f674e4fad8c.zip
copy from phh: avoid duplicate exfat component
-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