Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
Tavi 2024-04-10 07:48:20 -04:00
parent 78cb11acd7
commit e1e6d55cc6
No known key found for this signature in database
GPG Key ID: E599F62ECBAEAF2E

View File

@ -155,6 +155,7 @@ patchWorkspaceReal() {
umask 0022; umask 0022;
cd "$DOS_BUILD_BASE/$1"; cd "$DOS_BUILD_BASE/$1";
if grep -sq "android-13\.0\.0_r0\.127" ".repo/manifests/snippets/pixel.xml"; then if grep -sq "android-13\.0\.0_r0\.127" ".repo/manifests/snippets/pixel.xml"; then
if [ "$(git -C 'kernel/google/gs201/private/google-modules/gpu' describe --exact-match HEAD)" = "android-13.0.0_r0.127" ]; then
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;
verifyAllPlatformTags; verifyAllPlatformTags;
@ -178,6 +179,10 @@ patchWorkspaceReal() {
#Deblobbing fixes #Deblobbing fixes
##setup-makefiles doesn't execute properly for some devices, running it twice seems to fix whatever is wrong ##setup-makefiles doesn't execute properly for some devices, running it twice seems to fix whatever is wrong
#none yet #none yet
else
echo -e "\e[0;33mWARNING: CHECKOUT INCORRECT, NOT PATCHING!\e[0m";
echo "Please apply Patches/LineageOS-20.0/android/0001-tensor.patch to .repo/manifests and sync";
fi;
else else
echo -e "\e[0;33mWARNING: MANIFEST INCORRECT, NOT PATCHING!\e[0m"; echo -e "\e[0;33mWARNING: MANIFEST INCORRECT, NOT PATCHING!\e[0m";
echo "Please apply Patches/LineageOS-20.0/android/0001-tensor.patch to .repo/manifests and sync"; echo "Please apply Patches/LineageOS-20.0/android/0001-tensor.patch to .repo/manifests and sync";