android_system_core/fs_mgr
Sandeep Patil 9de748f745 fs_mgr: add a generic fs_mgr_get_boot_config internal API
depending on when fs_mgr is trying to read the configuration passed into
the kernel commandline, it may be able to read it successfully.
Specially in the case when init has not initialized properties.

This change adds a new fs_mgr_get_boot_config() API to be used by all
fs_mgr code in order to get filesystem parameters specified in kernel
command line or device tree. This way the fs_mgr code doesn't have to
handle the "early" cases separately anywhere.

Test:
Tested angler boot with both /system and /vendor mounted in init
first stage.
Tested sailfish to make sure /vendor can be continued to be
mounted early without verity

Change-Id: I9a44cdfc32681f714c5d73ae55c3deda95c02545
2017-02-22 12:58:15 -08:00
..
include init: early_mount: disallow partitions to be verified at boot 2017-02-22 11:22:53 -08:00
.clang-format Fix-up coding style 2017-02-18 12:33:36 +08:00
Android.mk fs_mgr: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -08:00
fs_mgr.cpp fs_mgr: make fs_mgr_setup_verity public API 2017-02-22 11:22:53 -08:00
fs_mgr_avb.cpp fs_mgr: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -08:00
fs_mgr_avb_ops.cpp Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_avb_ops.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_boot_config.cpp fs_mgr: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -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 init: early_mount: disallow partitions to be verified at boot 2017-02-22 11:22:53 -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: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -08:00
fs_mgr_priv_avb.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_priv_boot_config.h fs_mgr: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -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 Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_slotselect.cpp fs_mgr: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -08:00
fs_mgr_verity.cpp fs_mgr: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -08:00