make_f2fs: use -g android by default

Bug: 119875846
Change-Id: Ibff18ea6f92620852222fff4073379ec8afd0e10
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
Jaegeuk Kim
2018-11-21 11:12:54 -08:00
parent 051b9d87e2
commit 91e631d4dd
2 changed files with 2 additions and 11 deletions
+1 -6
View File
@@ -344,12 +344,7 @@ int format_volume(const char* volume, const char* directory) {
// clang-format off
std::vector<std::string> make_f2fs_cmd = {
cmd,
"-d1",
"-f",
"-O", "encrypt",
"-O", "quota",
"-O", "verity",
"-w", std::to_string(kSectorSize),
"-g", "android",
v->blk_device,
};
// clang-format on
+1 -5
View File
@@ -484,11 +484,7 @@ Value* FormatFn(const char* name, State* state, const std::vector<std::unique_pt
const char* f2fs_path = "/sbin/mkfs.f2fs";
const char* f2fs_argv[] = { "mkfs.f2fs",
"-d1",
"-f",
"-O", "encrypt",
"-O", "quota",
"-O", "verity",
"-g", "android",
"-w", "512",
location.c_str(),
(size < 512) ? nullptr : num_sectors.c_str(),