@@ -2,7 +2,6 @@
2CODE_DIR=shell
2CODE_DIR=shell
3USER=phablet
3USER=phablet
4USER_ID=32011
4USER_ID=32011
6PACKAGE=unity8
5PACKAGE=unity8
7BINARY=unity8
6BINARY=unity8
8TARGET_IP=${TARGET_IP-127.0.0.1}
7TARGET_IP=${TARGET_IP-127.0.0.1}
@@ -13,7 +12,6 @@ SETUP=false
14PINLOCK=false
13PINLOCK=false
15KEYLOCK=false
14KEYLOCK=false
16−SUDO="echo $PASSWORD | sudo -S"
17NUM_JOBS='$(( `grep -c ^processor /proc/cpuinfo` + 1 ))'
15NUM_JOBS='$(( `grep -c ^processor /proc/cpuinfo` + 1 ))'
18FLIPPED=false
16FLIPPED=false
19CHROOT_PREFIX="/data/ubuntu"
17CHROOT_PREFIX="/data/ubuntu"
@@ -76,7 +74,7 @@ setup_adb_forwarding() {
77install_dependencies() {
75install_dependencies() {
78 exec_with_adb apt-get update
76 exec_with_adb apt-get update
79− exec_with_ssh $SUDO apt-get -y install build-essential rsync bzr ccache gdb ninja-build devscripts equivs unity-plugin-scopes
77+ exec_with_adb apt-get -y --force-yes install build-essential rsync bzr ccache gdb ninja-build devscripts equivs unity-plugin-scopes
82sync_code() {
80sync_code() {