Tweaks
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
015799737e
commit
f65c7a4ccd
@ -326,8 +326,8 @@ processRelease() {
|
|||||||
if [ "$DOS_REMOVE_AFTER" = true ]; then
|
if [ "$DOS_REMOVE_AFTER" = true ]; then
|
||||||
echo -e "\e[0;32mRemoving to reclaim space\e[0m";
|
echo -e "\e[0;32mRemoving to reclaim space\e[0m";
|
||||||
#TODO: add a sanity check
|
#TODO: add a sanity check
|
||||||
rm -rf "$OUT_DIR";
|
rm -rf --one-file-system "$OUT_DIR";
|
||||||
if [ "$DOS_REMOVE_AFTER_FULL" = true ]; then rm -rf "$DOS_BUILD_BASE/out"; fi; #clobber entire workspace
|
if [ "$DOS_REMOVE_AFTER_FULL" = true ]; then rm -rf --one-file-system "$DOS_BUILD_BASE/out"; fi; #clobber entire workspace
|
||||||
fi;
|
fi;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ buildAll() {
|
|||||||
buildDevice himaul;
|
buildDevice himaul;
|
||||||
#Exynos
|
#Exynos
|
||||||
buildDevice manta;
|
buildDevice manta;
|
||||||
buildDevice n7100; #broken sepolicy
|
#buildDevice n7100; #broken sepolicy
|
||||||
buildDeviceUserDebug i9100;
|
buildDeviceUserDebug i9100;
|
||||||
buildDeviceUserDebug i9300;
|
buildDeviceUserDebug i9300;
|
||||||
buildDeviceUserDebug i9305;
|
buildDeviceUserDebug i9305;
|
||||||
|
@ -66,8 +66,8 @@ buildAll() {
|
|||||||
buildDevice bullhead verity;
|
buildDevice bullhead verity;
|
||||||
buildDevice ether; #Last version with working IMS
|
buildDevice ether; #Last version with working IMS
|
||||||
#SD810
|
#SD810
|
||||||
buildDevice himaul; #broken - needs vendor bits
|
#buildDevice himaul; #broken - needs vendor bits
|
||||||
buildDevice oneplus2; #Last version with working IMS + broken - needs vendor patching
|
#buildDevice oneplus2; #Last version with working IMS + broken - needs vendor patching
|
||||||
#SD615
|
#SD615
|
||||||
buildDevice Z00T;
|
buildDevice Z00T;
|
||||||
#SD820
|
#SD820
|
||||||
|
@ -65,13 +65,13 @@ buildAll() {
|
|||||||
#SD615
|
#SD615
|
||||||
buildDevice kipper;
|
buildDevice kipper;
|
||||||
#SD625
|
#SD625
|
||||||
buildDevice zenfone3; #broken - ninja: error: 'android.hidl.base@1.0.so', missing and no known rule to make it
|
#buildDevice zenfone3; #broken - ninja: error: 'android.hidl.base@1.0.so', missing and no known rule to make it
|
||||||
#SD430
|
#SD430
|
||||||
buildDevice land;
|
buildDevice land;
|
||||||
#SD435
|
#SD435
|
||||||
buildDevice santoni;
|
buildDevice santoni;
|
||||||
#Intel
|
#Intel
|
||||||
buildDevice fugu; #broken - ninja: error: 'libpcre2.so' missing and no known rule to make it
|
#buildDevice fugu; #broken - ninja: error: 'libpcre2.so' missing and no known rule to make it
|
||||||
#Tegra
|
#Tegra
|
||||||
buildDevice yellowstone; #broken sepolicy?
|
buildDevice yellowstone; #broken sepolicy?
|
||||||
}
|
}
|
||||||
|
@ -79,9 +79,9 @@ buildAll() {
|
|||||||
buildDevice bonito avb; #18.1 not compiling
|
buildDevice bonito avb; #18.1 not compiling
|
||||||
buildDevice sargo avb;
|
buildDevice sargo avb;
|
||||||
#Intel
|
#Intel
|
||||||
buildDevice fugu; #broken
|
#buildDevice fugu; #broken
|
||||||
#Tegra
|
#Tegra
|
||||||
buildDevice yellowstone; #broken
|
#buildDevice yellowstone; #broken
|
||||||
}
|
}
|
||||||
export -f buildAll;
|
export -f buildAll;
|
||||||
|
|
||||||
@ -91,9 +91,9 @@ patchWorkspace() {
|
|||||||
touch DOS_PATCHED_FLAG;
|
touch DOS_PATCHED_FLAG;
|
||||||
if [ "$DOS_MALWARE_SCAN_ENABLED" = true ]; then scanForMalware false "$DOS_PREBUILT_APPS $DOS_BUILD_BASE/build $DOS_BUILD_BASE/device $DOS_BUILD_BASE/vendor/lineage"; 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/lineage"; fi;
|
||||||
|
|
||||||
#source build/envsetup.sh;
|
source build/envsetup.sh;
|
||||||
#repopick -it ten-firewall;
|
#repopick -it ten-firewall;
|
||||||
#repopick -i 318916; #Fix kernel build with glibc 2.34
|
repopick -it Q_asb_2022-03;
|
||||||
|
|
||||||
sh "$DOS_SCRIPTS/Patch.sh";
|
sh "$DOS_SCRIPTS/Patch.sh";
|
||||||
sh "$DOS_SCRIPTS_COMMON/Enable_Verity.sh";
|
sh "$DOS_SCRIPTS_COMMON/Enable_Verity.sh";
|
||||||
|
@ -122,7 +122,7 @@ buildAll() {
|
|||||||
buildDevice coral avb;
|
buildDevice coral avb;
|
||||||
buildDevice flame avb;
|
buildDevice flame avb;
|
||||||
#buildDevice raphael avb; #unb + missing vendor
|
#buildDevice raphael avb; #unb + missing vendor
|
||||||
buildDevice vayu avb;
|
#buildDevice vayu avb; #broken vendor
|
||||||
#SD765
|
#SD765
|
||||||
buildDevice bramble avb;
|
buildDevice bramble avb;
|
||||||
buildDevice redfin avb;
|
buildDevice redfin avb;
|
||||||
|
@ -82,10 +82,10 @@ export DOS_GPS_SUPL_HOST="supl.google.com"; #Options: supl.{google,vodafone,sony
|
|||||||
#Release Processing
|
#Release Processing
|
||||||
export DOS_MALWARE_SCAN_BEFORE_SIGN=false; #Scan device files for malware before signing
|
export DOS_MALWARE_SCAN_BEFORE_SIGN=false; #Scan device files for malware before signing
|
||||||
export DOS_GENERATE_DELTAS=true; #Creates deltas from existing target_files in $DOS_BUILDS
|
export DOS_GENERATE_DELTAS=true; #Creates deltas from existing target_files in $DOS_BUILDS
|
||||||
export DOS_GENERATE_DELTAS_DEVICES=('akari' 'alioth' 'Amber' 'aura' 'aurora' 'avicii' 'blueline' 'bonito' 'bramble' 'cheryl' 'coral' 'crosshatch' 'davinci' 'discovery' 'enchilada' 'fajita' 'flame' 'FP3' 'guacamole' 'guacamoleb' 'marlin' 'mata' 'pioneer' 'pro1' 'redfin' 'sailfish' 'sargo' 'sunfish' 'taimen' 'vayu' 'voyager' 'walleye' 'xz2c'); #List of devices deltas will be generated for
|
export DOS_GENERATE_DELTAS_DEVICES=('akari' 'alioth' 'Amber' 'aura' 'aurora' 'avicii' 'blueline' 'bonito' 'bramble' 'cheryl' 'coral' 'crosshatch' 'davinci' 'discovery' 'enchilada' 'fajita' 'flame' 'FP3' 'guacamole' 'guacamoleb' 'hotdog' 'hotdogb' 'marlin' 'mata' 'pioneer' 'pro1' 'redfin' 'sailfish' 'sargo' 'sunfish' 'taimen' 'vayu' 'voyager' 'walleye' 'xz2c'); #List of devices deltas will be generated for
|
||||||
export DOS_AUTO_ARCHIVE_BUILDS=true; #Copies files to $DOS_BUILDS after signing
|
export DOS_AUTO_ARCHIVE_BUILDS=true; #Copies files to $DOS_BUILDS after signing
|
||||||
export DOS_REMOVE_AFTER=true; #Removes device OUT directory after complete to reclaim space. Requires AUTO_ARCHIVE_BUILDS=true
|
export DOS_REMOVE_AFTER=true; #Removes device OUT directory after complete to reclaim space. Requires AUTO_ARCHIVE_BUILDS=true
|
||||||
export DOS_REMOVE_AFTER_FULL=false; #Removes the entire OUT directory
|
export DOS_REMOVE_AFTER_FULL=true; #Removes the entire OUT directory
|
||||||
export DOS_GPG_SIGNING=true;
|
export DOS_GPG_SIGNING=true;
|
||||||
export DOS_GPG_SIGNING_KEY="B8744D67F9F1E14E145DFD8E7F627E920F316994";
|
export DOS_GPG_SIGNING_KEY="B8744D67F9F1E14E145DFD8E7F627E920F316994";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user