diff options
author | 2022-03-03 12:17:02 -0800 | |
---|---|---|
committer | 2022-03-04 19:32:55 +0000 | |
commit | b2c68b36232edc51cac785204d88819f4ec77ec2 (patch) | |
tree | 994a3e371ff40699940cd967d14031bf5b39f88c /tools/buildbot-setup-device.sh | |
parent | 88967d11258932ab4226ebeea8e7c7630857461d (diff) |
Mount /dev/pts inside the chroot.
This is necessary for lldb-server to work.
Change-Id: I5bf05fd29cb8b03a6458f9a4e96cd414dd9b4883
Diffstat (limited to 'tools/buildbot-setup-device.sh')
-rwxr-xr-x | tools/buildbot-setup-device.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/buildbot-setup-device.sh b/tools/buildbot-setup-device.sh index fc306279ea..608d3f22b1 100755 --- a/tools/buildbot-setup-device.sh +++ b/tools/buildbot-setup-device.sh @@ -169,6 +169,8 @@ if [[ -n "$ART_TEST_CHROOT" ]]; then adb shell mkdir -p "$ART_TEST_CHROOT/dev" adb shell mount | grep -q "^tmpfs on $ART_TEST_CHROOT/dev type tmpfs " \ || adb shell mount -o bind /dev "$ART_TEST_CHROOT/dev" + adb shell mount | grep -q "^devpts on $ART_TEST_CHROOT/dev/pts type devpts " \ + || adb shell mount -o bind /dev/pts "$ART_TEST_CHROOT/dev/pts" # Create /apex directory in chroot. adb shell mkdir -p "$ART_TEST_CHROOT/apex" |