OSDN Git Service

build: Fix "adb shell" in recovery for system_root_image.
authorTao Bao <tbao@google.com>
Thu, 30 Jul 2015 21:34:01 +0000 (14:34 -0700)
committerTao Bao <tbao@google.com>
Thu, 30 Jul 2015 23:44:17 +0000 (16:44 -0700)
commitbe46a54589bc4b266e9fd59129af7c8fadcc72d0
treebe6a38d18d6dc3a074485b271fd2807614cd8453
parent8427c5878c56c96b9384a89cb6dc00e30cd5bbfa
build: Fix "adb shell" in recovery for system_root_image.

For system images that contain the root directory, "adb shell" in
recovery stops working if the image is mounted at "/system", because
sh now locates at /system/system/bin/sh. We fix the issue by mounting
the image on /system_root and create a symlink to /system_root/system
for /system.

Bug: 22855115
Change-Id: Ia6b257b75aeb67687c3909063d1725a23a5ccd60
core/Makefile