mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 05:27:38 +00:00
Support patching dtb placed in extra section (S9/S9+)
This commit is contained in:
parent
d2e8ecc646
commit
72a5b83544
@ -166,8 +166,9 @@ rm -f ramdisk.cpio.orig
|
||||
# Binary patches
|
||||
##########################################################################################
|
||||
|
||||
if ! $KEEPVERITY && [ -f dtb ]; then
|
||||
./magiskboot --dtb-patch dtb && ui_print "- Patching fstab in dtb to remove dm-verity"
|
||||
if ! $KEEPVERITY; then
|
||||
[ -f dtb ] && ./magiskboot --dtb-patch dtb && ui_print "- Removing dm(avb)-verity from fstab in dtb"
|
||||
[ -f extra ] && ./magiskboot --dtb-patch extra && ui_print "- Removing dm(avb)-verity from fstab in extra-dtb"
|
||||
fi
|
||||
|
||||
if [ -f kernel ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user