summaryrefslogtreecommitdiff
path: root/fastboot/device/variables.cpp
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2018-09-28 12:05:02 +0800
committerBowgo Tsai <bowgotsai@google.com>2018-09-28 12:47:27 +0800
commit41649b871a21f3f7ced97b9c2a3491a959bc4dd5 (patch)
treede20443a97fa0e5b5cb292440f95a1e892293a47 /fastboot/device/variables.cpp
parentc2501fda600ea2067099c1de042e3db7acde74ee (diff)
allow adb to remount symlink mount points
Currently `adb remount` won't remount symlink mount points. In Android Generic System Image, there is a symlink /product -> /system/product for devices with and without a physical /product partition to work, respectively: - Mount product partition under /system/product via 'mount /product' OR - Keep using /product -> /system/product symlink, when no product partition Currently find_proc_mount() is seeking "/product" under /proc/mounts. But the actual mount path is "/system/product" when GSI is used on a device with product partition. Bug: 111539442 Test: adb remount && touch /product/abc on both GSI and non-GSI Change-Id: I8f15a67109d0a3f4ee18596ef7eb4280c5631b11
Diffstat (limited to 'fastboot/device/variables.cpp')
0 files changed, 0 insertions, 0 deletions