diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2018-04-13 11:34:54 +0200 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-04-13 11:34:54 +0200 |
commit | 81727699b4a58aa32c99b7e698d645fdb2c59408 (patch) | |
tree | c6d54abea68cb738ba24d663a4075db57f4773c6 | |
parent | Snap for 4707145 from d4dd093d08b24f7b934496ddc48b681b143d2086 to qt-release (diff) | |
parent | Merge "recovery: enable fsverity feature bit" into pi-dev am: 257dd337da (diff) | |
download | android_bootable_recovery-81727699b4a58aa32c99b7e698d645fdb2c59408.tar android_bootable_recovery-81727699b4a58aa32c99b7e698d645fdb2c59408.tar.gz android_bootable_recovery-81727699b4a58aa32c99b7e698d645fdb2c59408.tar.bz2 android_bootable_recovery-81727699b4a58aa32c99b7e698d645fdb2c59408.tar.lz android_bootable_recovery-81727699b4a58aa32c99b7e698d645fdb2c59408.tar.xz android_bootable_recovery-81727699b4a58aa32c99b7e698d645fdb2c59408.tar.zst android_bootable_recovery-81727699b4a58aa32c99b7e698d645fdb2c59408.zip |
-rw-r--r-- | Android.mk | 2 | ||||
-rw-r--r-- | roots.cpp | 1 | ||||
-rw-r--r-- | updater/install.cpp | 10 |
3 files changed, 6 insertions, 7 deletions
diff --git a/Android.mk b/Android.mk index a8b52b4f5..ed09b4949 100644 --- a/Android.mk +++ b/Android.mk @@ -156,7 +156,7 @@ LOCAL_STATIC_LIBRARIES := \ libhealthstoragedefault \ libhidltransport \ libhidlbase \ - libhwbinder_nolto \ + libhwbinder_noltopgo \ libvndksupport \ libbatterymonitor @@ -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, }; diff --git a/updater/install.cpp b/updater/install.cpp index 6732ab897..9be7645f3 100644 --- a/updater/install.cpp +++ b/updater/install.cpp @@ -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 }; |