• Tao Bao's avatar
    recovery: Allow "Mount /system" for system_root_image. · 8f903899
    Tao Bao authored
    When system images contain the root directory, there is no entry of
    "/system" in the fstab. Change it to look for "/" instead if
    ro.build.system_root_image is true. We actually mount the partition
    to /system_root instead, and create a symlink to /system_root/system
    for /system. This allows "adb shell" to work properly.
    
    Bug: 22855115
    Change-Id: I91864444950dc3229fda3cc133ddbadeb8817fb8
    (cherry picked from commit abb8f778)
    8f903899
recovery.cpp 38.5 KB