Commit 72a5b835 authored by topjohnwu's avatar topjohnwu

Support patching dtb placed in extra section (S9/S9+)

parent d2e8ecc6
...@@ -166,8 +166,9 @@ rm -f ramdisk.cpio.orig ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment