platform_system_core/fs_mgr/libfstab
David Anderson 0ff0eeed77 libfs_avb: Allow overriding the slot suffix.
There is no easy way to override fs_mgr_get_slot_suffix for testing or
for simulating slot switches. It relies on global properties, and
since fstab is usually a static library, linked multiple times, we can't
just stick a global variable in fs_mgr_slotselect.

libfs_avb already takes slot suffix arguments in various places. This CL
extends that by adding arguments to AvbHandle and FsManagerAvbOps.

Bug: N/A
Test: snapshotctl
Change-Id: Ide7f052b38249d6bc79a6a2c124baf8ca08bcc3b
2023-08-08 13:01:20 -07:00
..
fuzz fs_mgr: Split libfs_mgr and libfstab 2023-08-01 04:56:41 +00:00
include/fstab libfs_avb: Allow overriding the slot suffix. 2023-08-08 13:01:20 -07:00
Android.bp fs_mgr: Split libfs_mgr and libfstab 2023-08-01 04:56:41 +00:00
boot_config.cpp libfstab: Optimize out C++ object copy 2023-08-03 01:31:16 +08:00
fstab.cpp libfstab: Optimize out C++ object copy 2023-08-03 01:31:16 +08:00
fstab_priv.h init: Use libfs_mgr kernel cmdline parser 2023-08-02 17:59:05 +08:00
logging_macros.h fs_mgr: Split libfs_mgr and libfstab 2023-08-01 04:56:41 +00:00
slotselect.cpp libfs_avb: Allow overriding the slot suffix. 2023-08-08 13:01:20 -07:00