Adding flag to disable fastboot_info
Adding flag to override fastboot_info for a quick fix in case fastboot_info format is wrong Test: fastboot flashall Change-Id: I1f41646f14d747ce7ac7636ca9ced7279e13f7b0
This commit is contained in:
parent
eabfe272c3
commit
63dfeaae7a
1 changed files with 3 additions and 0 deletions
|
@ -2213,6 +2213,7 @@ int FastBootTool::Main(int argc, char* argv[]) {
|
|||
{"disable-verification", no_argument, 0, 0},
|
||||
{"disable-verity", no_argument, 0, 0},
|
||||
{"disable-super-optimization", no_argument, 0, 0},
|
||||
{"disable-fastboot-info", no_argument, 0, 0},
|
||||
{"force", no_argument, 0, 0},
|
||||
{"fs-options", required_argument, 0, 0},
|
||||
{"header-version", required_argument, 0, 0},
|
||||
|
@ -2253,6 +2254,8 @@ int FastBootTool::Main(int argc, char* argv[]) {
|
|||
g_disable_verity = true;
|
||||
} else if (name == "disable-super-optimization") {
|
||||
fp->should_optimize_flash_super = false;
|
||||
} else if (name == "disable-fastboot-info") {
|
||||
fp->should_use_fastboot_info = false;
|
||||
} else if (name == "force") {
|
||||
fp->force_flash = true;
|
||||
} else if (name == "fs-options") {
|
||||
|
|
Loading…
Reference in a new issue