Merge "recovery: enable fsverity feature bit" into pi-dev

am: 257dd337da

Change-Id: I1a7ebb46cdcb32952d4033916b19f41ba91a4689
This commit is contained in:
Jaegeuk Kim
2018-04-10 21:07:28 -07:00
committed by android-build-merger
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", "-f",
"-O", "encrypt", "-O", "encrypt",
"-O", "quota", "-O", "quota",
"-O", "verity",
"-w", std::to_string(kSectorSize), "-w", std::to_string(kSectorSize),
v->blk_device, 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", const char* f2fs_argv[] = { "mkfs.f2fs",
"-d1", "-d1",
"-f", "-f",
"-O", "-O", "encrypt",
"encrypt", "-O", "quota",
"-O", "-O", "verity",
"quota", "-w", "512",
"-w",
"512",
location.c_str(), location.c_str(),
(size < 512) ? nullptr : num_sectors.c_str(), (size < 512) ? nullptr : num_sectors.c_str(),
nullptr }; nullptr };