Merge "recovery: enable fsverity feature bit" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
257dd337da
@@ -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
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user