mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-01-13 00:19:27 -05:00
parent
78cb11acd7
commit
e1e6d55cc6
@ -155,6 +155,7 @@ patchWorkspaceReal() {
|
||||
umask 0022;
|
||||
cd "$DOS_BUILD_BASE/$1";
|
||||
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;
|
||||
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;
|
||||
@ -178,6 +179,10 @@ patchWorkspaceReal() {
|
||||
#Deblobbing fixes
|
||||
##setup-makefiles doesn't execute properly for some devices, running it twice seems to fix whatever is wrong
|
||||
#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
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user