Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
recovery: enable fsverity feature bit
Browse files Browse the repository at this point in the history
Bug: 74604441
Bug 67380979
Change-Id: Iab1cc9aef356f0ddf6e2491578a2bd53009182ce
Signed-off-by: Jaegeuk Kim <[email protected]>
  • Loading branch information
Jaegeuk Kim committed Apr 6, 2018
1 parent 1224544 commit 2e5dc84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions roots.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
10 changes: 4 additions & 6 deletions updater/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit 2e5dc84

Please sign in to comment.