summaryrefslogtreecommitdiffstats
path: root/recovery_utils/roots.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename external storage properties.Martijn Coenen2020-04-161-2/+2
| | | | | | | | | | According to property naming guidelines. Bug: 152170470 Bug: 153525566 Test: N/A Change-Id: I64c6d8ca49fbd72f923a8794df0929bd500dd8e9 Merged-In: I64c6d8ca49fbd72f923a8794df0929bd500dd8e9
* recovery: add a way to enable metadata_csum for ext4Jaegeuk Kim2020-02-121-0/+9
| | | | | | | | Requires to add "metadata_csum" in fsmgr_flag of fstab. Bug: 149039306 Change-Id: I2b95dcaaf2ba224135ad51f117b7b01bbf342b7e Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
* Set Casefold and PrjQuotas in Factory ResetDaniel Rosenberg2020-01-251-1/+26
| | | | | | | | | | | | | | This sets up devices to have casefolding and project quotas if they have enabled the relevant product properties. For ext4, we must set wide inodes at makefs time, but other things are enabled by fs_mgr with tune2fs at boot time. Bug: 138321217 Bug: 138322712 Test: Enable on a device. Reformat from recovery. Check that /data has the expected values using tune2fs/f2fs.fsck Change-Id: If706a3cad591f311eb904df4deca531d0b3fe0c4
* [bootable][recovery] fix -Wreorder-init-listNick Desaulniers2019-10-111-1/+5
| | | | | | | | | | C++20 will require members in a designated initializer to be in order unlike C99. Bug: 139945549 Test: mm Change-Id: I6f8d658448f7e5dd980bf95b890b15cb0aab7407 Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
* otautil: Factor out the utils that're private to recovery.Tao Bao2019-10-021-0/+279
A number of utility functions are intended for serving recovery's own use. Exposing them via libotautil (which is a static lib) would pass the dependencies onto libotautil's users (e.g. recovery image, updater, host simulator, device-specific recovery UI/updater extensions etc). This CL finds a new home for the utils that are private to recovery. Test: mmma bootable/recovery Change-Id: I575e97ad099b85fe1c1c8c7c9458a5a43d4e11e1