platform_system_core/fs_mgr
Bowgo Tsai aaf70e77dc fs_mgr: support AVB in fs_mgr_update_verity_state()
fs_mgr_update_verity_state() is invoked by 'verity_update_state' in
init.rc. It will then set property "partition.system.verified" and
"partition.vendor.verified" to verify_mode. We should support this for
AVB as well.

Also change the order of static libs in init to fix the build error
after this change:
  system/extras/ext4_utils/ext4_crypt.cpp:69: error: undefined reference to 'property_get'

Bug: 35416769
Test: Mount /system and /vendor with vboot 2.0 (AVB), check the following properties exist.
      - [partition.system.verified]: [2]
      - [partition.vendor.verified]: [2]
Test: Mount /system and /vendor with vboot 1.0, check the following properties exist.
      - [partition.system.verified]: [0]
      - [partition.vendor.verified]: [0]

Change-Id: I4328d66a8cb93f26e7960e620a0b2292d5f15900
2017-04-14 12:10:49 +08:00
..
include fs_mgr: support AVB in fs_mgr_update_verity_state() 2017-04-14 12:10:49 +08:00
.clang-format Fix-up coding style 2017-02-18 12:33:36 +08:00
Android.mk fs_mgr: make is_device_secure() work even in the absence of properties. 2017-02-27 12:46:18 -08:00
fs_mgr.cpp fs_mgr: support AVB in fs_mgr_update_verity_state() 2017-04-14 12:10:49 +08:00
fs_mgr_avb.cpp fs_mgr: adds/changes some public APIs for early mount in init 2017-04-13 18:29:10 +08:00
fs_mgr_avb_ops.cpp fs_mgr_avb: refactors how vbmeta is loaded 2017-04-13 18:28:53 +08:00
fs_mgr_avb_ops.h fs_mgr_avb: refactors how vbmeta is loaded 2017-04-13 18:28:53 +08:00
fs_mgr_boot_config.cpp fs_mgr: change the log level in fs_mgr_get_boot_config() 2017-03-28 18:52:04 +08:00
fs_mgr_dm_ioctl.cpp Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_format.cpp fs_mgr: Switch to LOG()/PLOG() defined in <android-base/logging.h> 2017-01-26 21:47:55 +08:00
fs_mgr_fstab.cpp fs_mgr: adds/changes some public APIs for early mount in init 2017-04-13 18:29:10 +08:00
fs_mgr_main.cpp fs_mgr: Switch to LOG()/PLOG() defined in <android-base/logging.h> 2017-01-26 21:47:55 +08:00
fs_mgr_priv.h fs_mgr: support AVB in fs_mgr_update_verity_state() 2017-04-14 12:10:49 +08:00
fs_mgr_priv_boot_config.h early_mount: fs_mgr: move all fstab logic into fs_mgr 2017-02-23 16:48:43 -08:00
fs_mgr_priv_dm_ioctl.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_priv_sha.h fs_mgr_avb: refactors how vbmeta is loaded 2017-04-13 18:28:53 +08:00
fs_mgr_slotselect.cpp fs_mgr: adding fs_mgr_get_slot_suffix() public API 2017-04-13 18:28:48 +08:00
fs_mgr_verity.cpp fs_mgr: support AVB in fs_mgr_update_verity_state() 2017-04-14 12:10:49 +08:00