Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
Revert "port.sh: Disable avb verification with function"
Browse files Browse the repository at this point in the history
This reverts commit 2867adf.
  • Loading branch information
toraidl committed Apr 23, 2024
1 parent fa2f02f commit d330fd6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion port.sh
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,12 @@ fi
# 去除avb校验
blue "去除avb校验" "Disable avb verification."
for fstab in $(find build/portrom/images/ -type f -name "fstab.*");do
disable_avb_verify $fstab
blue "Target: $fstab"
sed -i "s/,avb_keys=.*avbpubkey//g" $fstab
sed -i "s/,avb=vbmeta_system//g" $fstab
sed -i "s/,avb=vbmeta_vendor//g" $fstab
sed -i "s/,avb=vbmeta//g" $fstab
sed -i "s/,avb//g" $fstab
done

# data 加密
Expand Down

0 comments on commit d330fd6

Please sign in to comment.