From 414fa5caa2517e4ac0ba0e04c317e691e776164b Mon Sep 17 00:00:00 2001 From: Tad Date: Thu, 22 Mar 2018 09:49:44 -0400 Subject: [PATCH] Fix zips and buildtype --- Scripts/LineageOS-14.1/Patch.sh | 4 +--- Scripts/LineageOS-14.1/Rebrand.sh | 2 +- Scripts/LineageOS-15.1/Patch.sh | 2 +- Scripts/LineageOS-15.1/Rebrand.sh | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Scripts/LineageOS-14.1/Patch.sh b/Scripts/LineageOS-14.1/Patch.sh index 21b228cf..b978bc5c 100755 --- a/Scripts/LineageOS-14.1/Patch.sh +++ b/Scripts/LineageOS-14.1/Patch.sh @@ -34,8 +34,6 @@ #Generate firmware deblobber #mka firmware_deblobber -#repopick -t n_asb_03-2018 - # #START OF PREPRATION # @@ -175,7 +173,7 @@ cp $patches"android_vendor_cm/sce.mk" config/sce.mk cp $patches"android_vendor_cm/config.xml" overlay/common/vendor/cmsdk/cm/res/res/values/config.xml; #Per app performance profiles cp -r $patches"android_vendor_cm/firmware_deblobber" .; cp $patches"android_vendor_cm/firmware_deblobber.mk" build/tasks/firmware_deblobber.mk; -sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := NIGHTLY/' config/common.mk; #Change buildtype +sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := dos/' config/common.mk; #Change buildtype sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app with Silence #sed -i 's/config_enableRecoveryUpdater">false/config_enableRecoveryUpdater">true/' overlay/common/packages/apps/Settings/res/values/config.xml; #Expose option to update recovery #sed -i 's/mka bacon/mka bacon target-files-package dist/' build/envsetup.sh; #Create target-files for incrementals diff --git a/Scripts/LineageOS-14.1/Rebrand.sh b/Scripts/LineageOS-14.1/Rebrand.sh index 5a831eda..4a496f61 100644 --- a/Scripts/LineageOS-14.1/Rebrand.sh +++ b/Scripts/LineageOS-14.1/Rebrand.sh @@ -41,7 +41,7 @@ sed -i 's|>LineageOS|>DivestOS|' res/values*/strings.xml enter "vendor/cm" sed -i 's|https://lineageos.org/legal|https://divestos.xyz/pages/about.html|' config/common.mk; -sed -i '/.*ZIPFILE=/s/lineage/divestos/' build/envsetup.sh; +sed -i '/.*ZIPPATH=/s/lineage/coverage/' build/envsetup.sh; rm -rf bootanimation #TODO: Create a boot animation cd $base diff --git a/Scripts/LineageOS-15.1/Patch.sh b/Scripts/LineageOS-15.1/Patch.sh index 7ca4e3a2..862137d3 100755 --- a/Scripts/LineageOS-15.1/Patch.sh +++ b/Scripts/LineageOS-15.1/Patch.sh @@ -161,7 +161,7 @@ patch -p1 < $patches"android_vendor_lineage/0001-SCE.patch" #Include our extras cp $patches"android_vendor_lineage/sce.mk" config/sce.mk cp -r $patches"android_vendor_lineage/firmware_deblobber" .; cp $patches"android_vendor_lineage/firmware_deblobber.mk" build/tasks/firmware_deblobber.mk; -sed -i 's/LINEAGE_BUILDTYPE := UNOFFICIAL/LINEAGE_BUILDTYPE := NIGHTLY/' config/common.mk; #Change buildtype +sed -i 's/LINEAGE_BUILDTYPE := UNOFFICIAL/LINEAGE_BUILDTYPE := dos/' config/common.mk; #Change buildtype sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app with Silence sed -i 's/config_enableRecoveryUpdater">false/config_enableRecoveryUpdater">true/' overlay/common/packages/apps/Settings/res/values/config.xml; #Expose option to update recovery #sed -i 's/mka bacon/mka bacon target-files-package dist/' build/envsetup.sh; #Create target-files for incrementals diff --git a/Scripts/LineageOS-15.1/Rebrand.sh b/Scripts/LineageOS-15.1/Rebrand.sh index 499a29f9..b284510c 100644 --- a/Scripts/LineageOS-15.1/Rebrand.sh +++ b/Scripts/LineageOS-15.1/Rebrand.sh @@ -41,7 +41,7 @@ sed -i 's|>LineageOS|>DivestOS|' res/values*/strings.xml enter "vendor/lineage" sed -i 's|https://lineageos.org/legal|https://divestos.xyz/pages/about.html|' config/common.mk; -sed -i '/.*ZIPFILE=/s/lineage/divestos/' build/envsetup.sh; +sed -i '/.*ZIPPATH=/s/lineage/coverage/' build/envsetup.sh; rm -rf bootanimation #TODO: Create a boot animation cd $base