From 91ec03f0968833e7f82b525a1765475b3984479f Mon Sep 17 00:00:00 2001 From: Tad Date: Sat, 29 Apr 2023 11:17:32 -0400 Subject: [PATCH] Fixup davinci Signed-off-by: Tad --- Scripts/LineageOS-17.1/Patch.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Scripts/LineageOS-17.1/Patch.sh b/Scripts/LineageOS-17.1/Patch.sh index 5378dba2..524ffedd 100644 --- a/Scripts/LineageOS-17.1/Patch.sh +++ b/Scripts/LineageOS-17.1/Patch.sh @@ -531,6 +531,14 @@ if enterAndClear "device/oppo/common"; then awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #disable releasetools to fix delta ota generation fi; +if enterAndClear "device/xiaomi/davinci"; then +smallerSystem; +fi; + +if enterAndClear "device/xiaomi/sm6150-common"; then +smallerSystem; +fi; + #Make changes to all devices cd "$DOS_BUILD_BASE"; find "hardware/qcom/gps" -name "gps\.conf" -type f -print0 | xargs -0 -n 1 -P 4 -I {} bash -c 'hardenLocationConf "{}"';