Commit 2d6fb1c4 authored by Tom Briden's avatar Tom Briden Committed by topjohnwu

Only delete verity_key if ! $KEEPVERITY

otherwise the device can't boot
parent cd9643fb
......@@ -448,7 +448,9 @@ find . -type f -name "*fstab*" 2>/dev/null | while read FSTAB ; do
sed -i "s/forcefdeorfbe/encryptable/g" $FSTAB
fi
done
rm verity_key 2>/dev/null
if (! $KEEPVERITY); then
rm verity_key 2>/dev/null
fi
# sepolicy patches
$BINDIR/sepolicy-inject --magisk -P sepolicy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment