mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +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
|
# Binary patches
|
||||||
##########################################################################################
|
##########################################################################################
|
||||||
|
|
||||||
if ! $KEEPVERITY && [ -f dtb ]; then
|
if ! $KEEPVERITY; then
|
||||||
./magiskboot --dtb-patch dtb && ui_print "- Patching fstab in dtb to remove dm-verity"
|
[ -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
|
fi
|
||||||
|
|
||||||
if [ -f kernel ]; then
|
if [ -f kernel ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user