mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-07-27 16:45:28 -04:00
Failed attempt at fixing signing
PRODUCT_OTA_PUBLIC_KEYS is meant to be set by a vendor tree, something we don't use. Override it at the source and set it explicitely as well. This ensures that the compiled recovery.img and the one generated by sign_target_files_apks.py includes the real public keys for verification. 11.0 signing is ignored. This will need to be extensively tested as breakage can mean brick on locked devices. Although in failure cases it seems test-keys are accepted. -- After much testing there appears to be a deeper issue with how keys are inserted into the recovery and handled
This commit is contained in:
parent
ad178961e4
commit
f3e672fb18
17 changed files with 211 additions and 123 deletions
Scripts
|
@ -151,6 +151,8 @@ export DOS_SCRIPTS_CVES=$DOS_SCRIPTS"CVE_Patchers/";
|
|||
|
||||
export KBUILD_BUILD_USER="emy";
|
||||
export KBUILD_BUILD_HOST="dosbm";
|
||||
export BUILD_USERNAME="emy";
|
||||
export BUILD_HOSTNAME="dosbm";
|
||||
|
||||
export ANDROID_JACK_VM_ARGS="-Xmx6144m -Xms512m -Dfile.encoding=UTF-8 -XX:+TieredCompilation";
|
||||
export JACK_SERVER_VM_ARGUMENTS="${ANDROID_JACK_VM_ARGS}";
|
||||
|
@ -158,6 +160,7 @@ export EXPERIMENTAL_USE_JAVA8=true;
|
|||
export GRADLE_OPTS="-Xmx2048m";
|
||||
export TZ=:/etc/localtime;
|
||||
export LC_ALL=C;
|
||||
export LANG=en_US.UTF-8;
|
||||
alias patch='patch --no-backup-if-mismatch';
|
||||
|
||||
#START OF VERIFICATION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue