diff options
author | Jaegeuk Kim <jaegeuk@google.com> | 2018-11-28 02:17:45 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-11-28 02:17:45 +0100 |
commit | 6d43d2be432241b2d963829cfefaeb610b2a5948 (patch) | |
tree | ec69e55103c1f22f014373882cda3b2fbfd673a3 | |
parent | Merge "Update README.md." am: c075d688fd (diff) | |
parent | Merge "make_f2fs: use -g android by default" (diff) | |
download | android_bootable_recovery-6d43d2be432241b2d963829cfefaeb610b2a5948.tar android_bootable_recovery-6d43d2be432241b2d963829cfefaeb610b2a5948.tar.gz android_bootable_recovery-6d43d2be432241b2d963829cfefaeb610b2a5948.tar.bz2 android_bootable_recovery-6d43d2be432241b2d963829cfefaeb610b2a5948.tar.lz android_bootable_recovery-6d43d2be432241b2d963829cfefaeb610b2a5948.tar.xz android_bootable_recovery-6d43d2be432241b2d963829cfefaeb610b2a5948.tar.zst android_bootable_recovery-6d43d2be432241b2d963829cfefaeb610b2a5948.zip |
-rw-r--r-- | roots.cpp | 7 | ||||
-rw-r--r-- | updater/install.cpp | 6 |
2 files changed, 2 insertions, 11 deletions
@@ -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 diff --git a/updater/install.cpp b/updater/install.cpp index deb7a2b02..ccde409df 100644 --- a/updater/install.cpp +++ b/updater/install.cpp @@ -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(), |