History log of /system/update_engine/utils_android.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eb895c900198d4b48b606c2184203ec8d0310764 29-Mar-2017 Bowgo Tsai <bowgotsai@google.com> Switch to fs_mgr_read_fstab("/fstab.device")

fstab.device is for backward compatibility in legacy devices.
As it doesn't have fstab entries in device tree (for early mount) so we
can just use the ordinary fs_mgr_read_fstab().

For new devices having early mount, it should use
fs_mgr_read_fstab_default() instead.

Bug: 35811655
Test: adb reboot sideload && adb sideload ota.zip

Change-Id: I00b56a39747ab46d0e87da3c79b9f9faf0d1daef
/system/update_engine/utils_android.cc
d998b820ef2ca391cef551159dacf5afce6cff98 10-Mar-2017 Bowgo Tsai <bowgotsai@google.com> Replacing fs_mgr_read_fstab() with new fs_mgr APIs

The fstab settings of early-mounted partitions (e.g., /vendor)
will be in kernel device tree. Switch to the new API to get the
whole settings with those in device tree:

fs_mgr_read_fstab_with_dt("/fstab.device")

The original default /fstab.{ro.hardware} might be moved to
/vendor/etc/. or /odm/etc/. Use another new API to get the default
fstab instead of using the hard-coded /fstab.{ro.hardware}.
This API also includes the settings from device tree:

fs_mgr_read_fstab_default()

Bug: 35811655
Test: boot sailfish
Change-Id: If8361d891e17fa98b407b0e70f9f8984afcbcfe7
/system/update_engine/utils_android.cc
fb905d9b8d49f8fe41297c7aba2dd0942f1be311 04-Jun-2016 Alex Deymo <deymo@google.com> Implement powerwash on Android.

Powerwash, the name for the equivalent of a factory reset or /data wipe,
can be triggered in Android by writing the desired command to the
recovery command file and rebooting into recovery.

This patch moves the powerwash scheduling/canceling logic to the
HardwareInterface and implements it on Android.

Bug: 28700985
TEST=Called update_engine_client passing POWERWASH=1, BCB is stored up
to offset 832.

Change-Id: If737fd4b9b3e2ed9bce709b3b59f22e9f0a3dc9a
/system/update_engine/utils_android.cc