AK3: add option to skip vbmeta patching while avb is enabled (#90)

Signed-off-by: engstk <eng.stk@sapo.pt>
This commit is contained in:
engstk authored and GitHub committed 2024-10-14 13:02:49 -03:00
1 parent 075e6ff32b
commit fdf4603a40
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -483,7 +483,7 @@ flash_generic() {
if [ "$path" == "/dev/block/mapper" ]; then
avb=$(httools_static avb $1);
[ $? == 0 ] || abort "Failed to parse fstab entry for $1. Aborting...";
if [ "$avb" ]; then
if [ "$avb" ] && [ ! "$NO_VBMETA_PARTITION_PATCH" ]; then
flags=$(httools_static disable-flags);
[ $? == 0 ] || abort "Failed to parse top-level vbmeta. Aborting...";
if [ "$flags" == "enabled" ]; then