mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 02:25:28 +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
|
sed -i "s/forcefdeorfbe/encryptable/g" $FSTAB
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if (! $KEEPVERITY); then
|
||||||
rm verity_key 2>/dev/null
|
rm verity_key 2>/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
# sepolicy patches
|
# sepolicy patches
|
||||||
$BINDIR/sepolicy-inject --magisk -P sepolicy
|
$BINDIR/sepolicy-inject --magisk -P sepolicy
|
||||||
|
Loading…
Reference in New Issue
Block a user