mirror of
https://github.com/topjohnwu/Magisk
synced 2024-11-11 17:38:25 +01: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
|
||||||
rm verity_key 2>/dev/null
|
if (! $KEEPVERITY); then
|
||||||
|
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