mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Small changes
- Disable generation of unused OTA to reduce compile time - 17.1+: Disable APEX, breaks signing, and is also useless since no Play Store. - 18.1: Fixup signing
This commit is contained in:
parent
398f663e47
commit
9db9215d6b
8 changed files with 50 additions and 10 deletions
|
@ -157,7 +157,6 @@ processRelease() {
|
|||
local RELEASETOOLS_PREFIX="build/tools/releasetools/"; #XXX: FIXME 18REBASE
|
||||
if [[ "$DOS_VERSION" == "LineageOS-18.1" ]]; then
|
||||
local RELEASETOOLS_PREFIX="";
|
||||
make otatools;
|
||||
fi;
|
||||
|
||||
echo -e "\e[0;32mProcessing release for $DEVICE\e[0m";
|
||||
|
@ -518,6 +517,14 @@ hardenBootArgs() {
|
|||
}
|
||||
export -f hardenBootArgs;
|
||||
|
||||
disableAPEX() {
|
||||
cd "$DOS_BUILD_BASE$1";
|
||||
awk -i inplace '!/DEXPREOPT_GENERATE_APEX_IMAGE/' *.mk &>/dev/null || true;
|
||||
awk -i inplace '!/updatable_apex.mk/' *.mk &>/dev/null || true;
|
||||
cd "$DOS_BUILD_BASE";
|
||||
}
|
||||
export -f disableAPEX;
|
||||
|
||||
enableStrongEncryption() {
|
||||
cd "$DOS_BUILD_BASE$1";
|
||||
if [ -f BoardConfig.mk ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue