X-Git-Url: https://piware.de/gitweb/?a=blobdiff_plain;f=phablet-install;h=6d36077391bcbb4e22e6ede868cc21c641eba041;hb=30e1cc3e86b44d23dc5da1cc242ab5a6e68ffe24;hp=3cfccda1ad7da656626321045b873fc73e9c3145;hpb=13eab5f8fe50fca373bf2a13f2afff327aef8e94;p=bin.git diff --git a/phablet-install b/phablet-install index 3cfccda..6d36077 100755 --- a/phablet-install +++ b/phablet-install @@ -1,7 +1,7 @@ #!/bin/sh set -e -CHANNEL=devel-proposed +CHANNEL=${CHANNEL:=devel-proposed} MYNAME=$(getent passwd `whoami` | cut -f5 -d: | cut -f1 -d,) MYMAIL=${DEBMEMAIL:-$EMAIL} @@ -17,10 +17,11 @@ echo "rebooting to activate writable image..." adb reboot adb wait-for-device +# enable network +phablet-network -n /etc/NetworkManager/system-connections/pittinet + # install some necessary packages -echo "connect to wifi now and press Enter" -read n -adb shell "apt-get install -y vim bzr ubuntu-ui-toolkit-autopilot ofono-phonesim" +adb shell "apt-get install -y vim bzr build-essential fakeroot" # set up bzr, vim, ssh adb shell "su -c 'mkdir ~/.ssh' phablet"