From 036eb2f2e8bba596b108e78ca4790d88274e9557 Mon Sep 17 00:00:00 2001 From: Tad Date: Fri, 9 Mar 2018 01:29:51 -0500 Subject: [PATCH] 15.1: Fix signing --- Scripts/LineageOS-15.1/Functions.sh | 4 ++-- Scripts/LineageOS-15.1/Patch.sh | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Scripts/LineageOS-15.1/Functions.sh b/Scripts/LineageOS-15.1/Functions.sh index 52a41eb0..e55e5b72 100644 --- a/Scripts/LineageOS-15.1/Functions.sh +++ b/Scripts/LineageOS-15.1/Functions.sh @@ -58,11 +58,11 @@ export -f buildDevice; buildAll() { #Select devices are userdebug due to SELinux policy issues #TODO: Add victara, griffin, athene, us997, us996, pme, t0lte, hlte - brunch lineage_angler-user; + brunch lineage_d852-userdebug; brunch lineage_bacon-user; + brunch lineage_angler-user; brunch lineage_bullhead-user; brunch lineage_d802-userdebug; - brunch lineage_d852-userdebug; #brunch lineage_d855-userdebug; brunch lineage_flo-user; brunch lineage_flounder-user; diff --git a/Scripts/LineageOS-15.1/Patch.sh b/Scripts/LineageOS-15.1/Patch.sh index 2c68e604..38809593 100755 --- a/Scripts/LineageOS-15.1/Patch.sh +++ b/Scripts/LineageOS-15.1/Patch.sh @@ -62,6 +62,7 @@ cp -r $patches"Fennec_DOS-Shim" $base"packages/apps/"; #Add a shim to install Fe enterAndClear "build/make" patch -p1 < $patches"android_build/0001-Automated_Build_Signing.patch" #Automated build signing. Disclaimer: From CopperheadOS 13.0 +awk -i inplace '!/PRODUCT_EXTRA_RECOVERY_KEYS/' core/product.mk; sed -i 's/messaging/Silence/' target/product/*.mk; #Replace AOSP Messaging app with Silence enterAndClear "device/qcom/sepolicy" @@ -161,9 +162,6 @@ cat /tmp/ar/hosts >> rootdir/etc/hosts #Merge in our HOSTS file git revert a6a4ce8e9a6d63014047a447c6bb3ac1fa90b3f4 #Always update recovery patch -p1 < $patches"android_system_core/0001-Harden_Mounts.patch" #Harden mounts with nodev/noexec/nosuid. Disclaimer: From CopperheadOS 13.0 -enterAndClear "system/sepolicy" -git revert c994face15fbcbd8c0b083ca5d36e0b2258b033a #breaks -user builds - enterAndClear "system/vold" patch -p1 < $patches"android_system_vold/0001-AES256.patch" #Add a variable for enabling AES-256 bit encryption