recovery: enable fsverity feature bit

Bug: 74604441
Bug 67380979
Change-Id: Iab1cc9aef356f0ddf6e2491578a2bd53009182ce
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
Jaegeuk Kim
2018-04-06 10:17:47 -07:00
parent 1224544806
commit 2e5dc84d51
2 changed files with 5 additions and 6 deletions
+1
View File
@@ -333,6 +333,7 @@ int format_volume(const char* volume, const char* directory) {
"-f",
"-O", "encrypt",
"-O", "quota",
"-O", "verity",
"-w", std::to_string(kSectorSize),
v->blk_device,
};
+4 -6
View File
@@ -544,12 +544,10 @@ Value* FormatFn(const char* name, State* state, const std::vector<std::unique_pt
const char* f2fs_argv[] = { "mkfs.f2fs",
"-d1",
"-f",
"-O",
"encrypt",
"-O",
"quota",
"-w",
"512",
"-O", "encrypt",
"-O", "quota",
"-O", "verity",
"-w", "512",
location.c_str(),
(size < 512) ? nullptr : num_sectors.c_str(),
nullptr };