diff options
Diffstat (limited to 'tools/setup-buildbot-device.sh')
| -rwxr-xr-x | tools/setup-buildbot-device.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/setup-buildbot-device.sh b/tools/setup-buildbot-device.sh index ef958d6b1a..92b36724d4 100755 --- a/tools/setup-buildbot-device.sh +++ b/tools/setup-buildbot-device.sh @@ -165,4 +165,9 @@ 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" + + # Create /apex tmpfs in chroot. + adb shell mkdir -p "$ART_TEST_CHROOT/apex" + adb shell mount | grep -q "^tmpfs on $ART_TEST_CHROOT/apex type tmpfs " \ + || adb shell mount -t tmpfs -o nodev,noexec,nosuid tmpfs "$ART_TEST_CHROOT/apex" fi |