~popey/+junk/phablet-flash-wrapper

« back to all changes in this revision

Viewing changes to post-flash.sh

  • Committer: Alan Pope
  • Date: 2013-07-30 09:34:06 UTC
  • Revision ID: alan.pope@canonical.com-20130730093406-t7ah2cxedokwnsi8
add script to automate testing

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
add-apt-repository -y ppa:ubuntu-touch-coreapps-drivers/collection
55
55
add-apt-repository -y ppa:ubuntu-touch-coreapps-drivers/daily
56
56
apt-get update
 
57
apt-get remove -y --purge demo-assets-music demo-assets-videos demo-assets-pictures
57
58
apt-get install --yes touch-collection touch-coreapps mosh ssh vnstat pastebinit ssh uptimed predict bootchart
58
 
perl -p -i -e 's/expandable\:\ false/expandable\:\ true/' /usr/share/unity8/Dash/Apps/ApplicationsFilterGrid.qml
 
59
#perl -p -i -e 's/expandable\:\ false/expandable\:\ true/' /usr/share/unity8/Dash/Apps/ApplicationsFilterGrid.qml
59
60
echo "Europe/London" | sudo tee /etc/timezone
60
61
dpkg-reconfigure --frontend noninteractive tzdata
 
62
(crontab -l ; echo "* * * * * /home/phablet/powerstat.sh >> /home/phablet/battery.csv")| uniq - | crontab -
61
63
EOF
62
64
 
63
65
echo ":: Installing apps"
64
66
adb push $TMP_FILE $UBUNTU_ROOT/$TMP_FILE
 
67
adb push powerstat.sh /home/phablet/
65
68
adb shell chmod 755 $UBUNTU_ROOT/$TMP_FILE
66
69
adb shell chroot $UBUNTU_ROOT $UBUNTU_ROOT/$TMP_FILE
67
70