| 1 | #! /usr/bin/env bash |
| 2 | |
| 3 | # Copyright (C) 2016 Daniel Watson |
| 4 | # See the end of the file for license conditions. |
| 5 | # GNU AGPLv3 (or later at your option) |
| 6 | # https://challenge-bot.com/ |
| 7 | |
| 8 | # run this on the bbb while hooked to host via usb |
| 9 | set -o nounset |
| 10 | set -o errexit |
| 11 | |
| 12 | route-internet-through-host-via-usb.bash |
| 13 | |
| 14 | # TODO: set timezone on beagleboard based on host system timezone |
| 15 | # TODO: set time on beagleboard based on host system time |
| 16 | |
| 17 | # update the system to the latest |
| 18 | full-update.bash |
| 19 | sudo apt-get install -y aptitude |
| 20 | sudo aptitude install -y pkg-config |
| 21 | |
| 22 | # TODO: install opencv |
| 23 | install-opencv.bash |
| 24 | |
| 25 | # This file is part of challenge-bot. |
| 26 | |
| 27 | # Challenge-bot is free software: you can redistribute it and/or modify |
| 28 | # it under the terms of the GNU Affero General Public License as published by |
| 29 | # the Free Software Foundation, either version 3 of the License, or |
| 30 | # (at your option) any later version. |
| 31 | |
| 32 | # GNU Affero Emacs is distributed in the hope that it will be useful, |
| 33 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 34 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 35 | # GNU Affero General Public License for more details. |
| 36 | |
| 37 | # You should have received a copy of the GNU Affero General Public License |
| 38 | # along with challenge-bot. If not, see <http://www.gnu.org/licenses/>. |