diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2017-11-15 18:06:48 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2018-03-09 17:34:29 +0800 |
commit | 00749affc4a9185953d7444c88f614c5b7694504 (patch) | |
tree | adc8655f34dacbd79e75a31c2a0dcae3e61035ec /libutils/Unicode.cpp | |
parent | 1d5b102671ba3cf5da51026328a75012d56f3b98 (diff) |
Adding /odm support
Treble system-as-root GSI needs to work on devices with and without /odm
partition. This change creates the following symlinks for devices without
/odm partition:
/odm/app ->/vendor/odm/app
/odm/bin ->/vendor/odm/bin
/odm/etc ->/vendor/odm/etc
/odm/firmware ->/vendor/odm/firmware
/odm/framework ->/vendor/odm/framework
/odm/lib -> /vendor/odm/lib
/odm/lib64 -> /vendor/odm/lib64
/odm/overlay -> /vendor/odm/overlay
/odm/priv-app -> /vendor/odm/priv-app
For devices with odm partition, /odm will be used as the mount point and
those symlinks will be hidden after mount.
Bug: 70678783
Test: boot a A/B device without /odm partition, checks those symlinks exist
Test: boot a A/B device with /odm partition, checks those symlinks don't exist
Change-Id: I4d960b52e2754f461188f3ab562c751f502046ea
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions