mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-25 07:29:24 -05:00
Tweaks and add a script for creating signing keys
This commit is contained in:
parent
4912609425
commit
3ea4b55e70
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
|
|
||||||
Signing_Keys/
|
Signing_Keys/
|
||||||
|
Signing_Keys-Old/
|
||||||
Builds/
|
Builds/
|
||||||
Build/
|
Build/
|
||||||
Repos/
|
Repos/
|
||||||
|
11
Scripts/Generate_Signing_Keys.sh
Normal file
11
Scripts/Generate_Signing_Keys.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
export desc='/O=Divested Computing, Inc./CN=DivestOS/emailAddress=support@divestos.xyz';
|
||||||
|
export type='rsa'; #Options: rsa, ec
|
||||||
|
|
||||||
|
$base/development/tools/make_key extra "$desc" "$type";
|
||||||
|
$base/development/tools/make_key media "$desc" "$type";
|
||||||
|
$base/development/tools/make_key platform "$desc" "$type";
|
||||||
|
$base/development/tools/make_key releasekey "$desc" "$type";
|
||||||
|
$base/development/tools/make_key shared "$desc" "$type";
|
||||||
|
$base/development/tools/make_key verity "$desc" "$type";
|
||||||
|
|
||||||
|
echo "Please copy created keys to your signing keys directory. Keep them safe!";
|
@ -234,6 +234,7 @@ cd $base;
|
|||||||
|
|
||||||
#Fixes
|
#Fixes
|
||||||
#Fix broken options enabled by hardenDefconfig()
|
#Fix broken options enabled by hardenDefconfig()
|
||||||
|
sed -i "s/CONFIG_PARTIALRESUME=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/motorola/msm8992/arch/arm64/configs/*defconfig; #Breaks on compile
|
||||||
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/lge/msm8996/arch/arm64/configs/lineageos_*_defconfig; #Breaks on compile
|
sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/lge/msm8996/arch/arm64/configs/lineageos_*_defconfig; #Breaks on compile
|
||||||
#
|
#
|
||||||
#END OF DEVICE CHANGES
|
#END OF DEVICE CHANGES
|
||||||
|
Loading…
Reference in New Issue
Block a user