mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +00:00
Only delete verity_key if ! $KEEPVERITY
otherwise the device can't boot
This commit is contained in:
parent
cd9643fb15
commit
2d6fb1c45e
@ -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
|
||||
if (! $KEEPVERITY); then
|
||||
rm verity_key 2>/dev/null
|
||||
fi
|
||||
|
||||
# sepolicy patches
|
||||
$BINDIR/sepolicy-inject --magisk -P sepolicy
|
||||
|
Loading…
Reference in New Issue
Block a user