diff options
author | Mark Salyzyn <salyzyn@google.com> | 2019-07-31 08:33:53 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2019-08-08 11:50:36 -0700 |
commit | 31c14e15b913d4542fecd4d973c18ef95b3e1f18 (patch) | |
tree | d1bf4b7b9088c1cef4c74a28d6abbdf157eab14c /libpackagelistparser/packagelistparser.cpp | |
parent | ef0bc63043af4b614866c4215340f90399cf0931 (diff) |
fs_mgr: overlayfs: dig harder for /dev/root equivalent
Check for A/B /dev/block/by-name/system<slot> and also non-A/B
/dev/block/by-name/system to discover what /dev/root can be when
evaluating candidates for using overlayfs.
This is to handle a misconfigured (or legacy) system-as-root device.
It is recommended that the default fstab specifically mentions the
root mount's device node to prevent going down this path.
Test: adb-remount-test.sh
Bug: 138407617
Change-Id: I3853d203b9376d0f848cb490150ff00cc4ed3d5f
Diffstat (limited to 'libpackagelistparser/packagelistparser.cpp')
0 files changed, 0 insertions, 0 deletions