From 54ab2344626a4a60a9f3d6a679e959f876e58c63 Mon Sep 17 00:00:00 2001 From: Tad Date: Sun, 18 Jun 2017 17:19:22 -0400 Subject: [PATCH] Fixup previous commit --- Scripts/LAOS-14.1_Patches.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Scripts/LAOS-14.1_Patches.sh b/Scripts/LAOS-14.1_Patches.sh index f97af031..91bde948 100755 --- a/Scripts/LAOS-14.1_Patches.sh +++ b/Scripts/LAOS-14.1_Patches.sh @@ -98,7 +98,8 @@ patch -p1 < $patches"android_packages_apps_CMParts/0001-Remove_Analytics.patch" enter "packages/apps/CMUpdater" patch -p1 < $patches"android_packages_apps_CMUpdater/0001-Server.patch" #Switch to our server -sed -i 's/CM_RELEASE_TYPE_DEFAULT = "UNOFFICIAL";/CM_RELEASE_TYPE_DEFAULT = "DivestOS";/'; #Change buildtype +sed -i 's/CM_RELEASE_TYPE_DEFAULT = "UNOFFICIAL";/CM_RELEASE_TYPE_DEFAULT = "dos";/' src/com/cyanogenmod/updater/misc/Constants.java; #Change buildtype +sed -i 's/subStrings[3].length() < 7/subStrings[3].length() <= 3/' src/com/cyanogenmod/updater/utils/Utils.java; #Fix not allowing buildtypes length < 7 enter "packages/apps/CustomTiles" patch -p1 < $patches"android_packages_apps_CustomTiles/0001-Profiles.patch" #System profiles tile @@ -162,7 +163,7 @@ enter "vendor/cm" awk -i inplace '!/50-cm.sh/' config/common.mk; #Make sure our hosts is always used patch -p1 < $patches"android_vendor_cm/0001-SCE.patch" #Include our extras such as MicroG and F-Droid cp $patches"android_vendor_cm/sce.mk" config/sce.mk -sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := DivestOS/' config/common.mk; #Change buildtype +sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := dos/' config/common.mk; #Change buildtype enter "vendor/cmsdk" git fetch https://review.lineageos.org/LineageOS/cm_platform_sdk refs/changes/21/148321/13 && git cherry-pick FETCH_HEAD #network traffic