summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2018-09-22 15:06:43 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-09-26 10:32:05 -0700
commit2bbbedcdc60943d287a2b224fe6cdf9e115b99b5 (patch)
tree714c7f91b9bde27039111f9a676741066a6c115f
parent11d83ac8622a4db387a57584500dedaca3d49033 (diff)
downloadvboot-2bbbedcdc60943d287a2b224fe6cdf9e115b99b5.tar.gz
futility: update: Preserve RO_FSG
Cheza early proto devices have declared few sections that must be preserved before RO_PRESERVE is introduced, so we want to temporarily include them until the migration is completed. BUG=b:116326638 TEST=make futil; tests/futility/run_test_scripts.sh $(pwd)/build/futility BRANCH=None Change-Id: Ie8f397c000839ccfd475eab1d248843b23320465 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1239797 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--futility/cmd_update.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/futility/cmd_update.c b/futility/cmd_update.c
index a77c2a08..dd2597c3 100644
--- a/futility/cmd_update.c
+++ b/futility/cmd_update.c
@@ -1098,6 +1098,11 @@ static int preserve_images(struct updater_config *cfg)
FMAP_RO_PRESERVE,
FMAP_RW_PRESERVE,
FMAP_RW_NVRAM,
+ /*
+ * TODO(hungte): b/116326638: Remove RO_FSG after the migration
+ * is finished.
+ */
+ "RO_FSG",
};
errcnt += preserve_gbb(from, to);