mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Fix and enable exec_spawning feature
This is the missing puzzle piece :) Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
19b03c9ff4
commit
1bbb6f9b4e
5 changed files with 17 additions and 2 deletions
|
@ -536,6 +536,15 @@ hardenBootArgs() {
|
|||
}
|
||||
export -f hardenBootArgs;
|
||||
|
||||
disableEnforceRRO() {
|
||||
cd "$DOS_BUILD_BASE$1";
|
||||
awk -i inplace '!/PRODUCT_ENFORCE_RRO_TARGETS .= framework-res/' *.mk &>/dev/null || true;
|
||||
awk -i inplace '!/PRODUCT_ENFORCE_RRO_TARGETS .= \*/' *.mk &>/dev/null || true;
|
||||
sed -i '/PRODUCT_ENFORCE_RRO_TARGETS .= \\/,+1 d' *.mk &>/dev/null || true;
|
||||
cd "$DOS_BUILD_BASE";
|
||||
}
|
||||
export -f disableEnforceRRO;
|
||||
|
||||
disableAPEX() {
|
||||
cd "$DOS_BUILD_BASE$1";
|
||||
awk -i inplace '!/DEXPREOPT_GENERATE_APEX_IMAGE/' *.mk &>/dev/null || true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue