mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-25 23:49:32 -05:00
11.0: Cherrypick ASB topics
This commit is contained in:
parent
de1d7cf5ed
commit
715cb32468
1
Patches/Common/android_vendor_divested/TODO
Normal file
1
Patches/Common/android_vendor_divested/TODO
Normal file
@ -0,0 +1 @@
|
|||||||
|
11.0: Profiles
|
@ -23,7 +23,7 @@ patchAllKernels() {
|
|||||||
export -f patchAllKernels;
|
export -f patchAllKernels;
|
||||||
|
|
||||||
resetWorkspace() {
|
resetWorkspace() {
|
||||||
repo forall -c 'git add -A && git reset --hard' && rm -rf packages/apps/{FDroid,GmsCore} out && repo sync -j20 --force-sync;
|
repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j20 --force-sync;
|
||||||
}
|
}
|
||||||
export -f resetWorkspace;
|
export -f resetWorkspace;
|
||||||
|
|
||||||
@ -55,10 +55,14 @@ export -f buildAll;
|
|||||||
|
|
||||||
patchWorkspace() {
|
patchWorkspace() {
|
||||||
if [ "$DOS_MALWARE_SCAN_ENABLED" = true ]; then scanForMalware false "$DOS_PREBUILT_APPS $DOS_BUILD_BASE/build $DOS_BUILD_BASE/device $DOS_BUILD_BASE/vendor/cm"; fi;
|
if [ "$DOS_MALWARE_SCAN_ENABLED" = true ]; then scanForMalware false "$DOS_PREBUILT_APPS $DOS_BUILD_BASE/build $DOS_BUILD_BASE/device $DOS_BUILD_BASE/vendor/cm"; fi;
|
||||||
#source build/envsetup.sh;
|
sed -i "s/'git', 'show', '-q'/'git', 'show'/" build/tools/repopick.py; #fix for old git versions
|
||||||
#repopick -it asb-2018.09-cm11
|
source build/envsetup.sh;
|
||||||
#repopick -it asb-2018.10-cm11
|
#repopick -it asb-2018.09-cm11 -e 228457; #merged except for level
|
||||||
#repopick -it asb-2018.11-cm11
|
repopick -it asb-2018.09-cm11-qcom;
|
||||||
|
#repopick -it asb-2018.10-cm11 -e 234585; #merged except for level
|
||||||
|
repopick -it asb-2018.11-cm11 -e 234695;
|
||||||
|
repopick -it cm.service.adb.root; #security fix for -userdebug
|
||||||
|
repopick -it asb-2018.12-cm11;
|
||||||
|
|
||||||
source "$DOS_SCRIPTS/Patch.sh";
|
source "$DOS_SCRIPTS/Patch.sh";
|
||||||
source "$DOS_SCRIPTS/Defaults.sh";
|
source "$DOS_SCRIPTS/Defaults.sh";
|
||||||
|
@ -99,7 +99,7 @@ if [ ! -d "$DOS_BUILD_BASE" ]; then
|
|||||||
fi;
|
fi;
|
||||||
|
|
||||||
export DOS_TMP_DIR="/tmp/dos_tmp";
|
export DOS_TMP_DIR="/tmp/dos_tmp";
|
||||||
mkdir "$DOS_TMP_DIR";
|
mkdir -p "$DOS_TMP_DIR";
|
||||||
export DOS_HOSTS_FILE="$DOS_TMP_DIR/hosts";
|
export DOS_HOSTS_FILE="$DOS_TMP_DIR/hosts";
|
||||||
|
|
||||||
export DOS_PREBUILT_APPS=$DOS_WORKSPACE_ROOT"PrebuiltApps/";
|
export DOS_PREBUILT_APPS=$DOS_WORKSPACE_ROOT"PrebuiltApps/";
|
||||||
|
Loading…
Reference in New Issue
Block a user