Tools: initvagrant: allow autotest to run
This commit is contained in:
parent
698f18566b
commit
681a5b5c2c
@ -9,7 +9,7 @@ echo "Initial setup of SITL-vagrant instance."
|
||||
|
||||
BASE_PKGS="gawk make git arduino-core curl"
|
||||
SITL_PKGS="g++ python-pip python-matplotlib python-serial python-wxgtk3.0 python-scipy python-opencv python-numpy python-empy python-pyparsing ccache"
|
||||
PYTHON_PKGS="pymavlink MAVProxy droneapi future"
|
||||
PYTHON_PKGS="pymavlink MAVProxy droneapi future pexpect"
|
||||
PX4_PKGS="python-serial python-argparse openocd flex bison libncurses5-dev \
|
||||
autoconf texinfo build-essential libftdi-dev libtool zlib1g-dev \
|
||||
zip genromfs cmake"
|
||||
@ -30,7 +30,7 @@ usermod -a -G dialout $VAGRANT_USER
|
||||
|
||||
apt-get -y remove modemmanager
|
||||
apt-get -y update
|
||||
apt-get -y install dos2unix g++-4.7 ccache python-lxml screen xterm gdb
|
||||
apt-get -y install dos2unix g++-4.7 ccache python-lxml screen xterm gdb pkgconf
|
||||
apt-get -y install $BASE_PKGS $SITL_PKGS $PX4_PKGS $UBUNTU64_PKGS
|
||||
pip -q install $PYTHON_PKGS
|
||||
easy_install catkin_pkg
|
||||
@ -66,6 +66,7 @@ source /vagrant/Tools/vagrant/shellinit.sh
|
||||
# It is only marginally less efficient on Linux
|
||||
export PX4_WINTOOL=y
|
||||
export PATH=\$PATH:\$HOME/jsbsim/src
|
||||
export BUILDLOGS=/tmp/buildlogs
|
||||
"
|
||||
|
||||
echo "$PROFILE_TEXT" | sudo -u $VAGRANT_USER dd conv=notrunc oflag=append of=$DOT_PROFILE
|
||||
@ -73,8 +74,11 @@ sudo -u $VAGRANT_USER ln -fs /vagrant/Tools/vagrant/screenrc /home/$VAGRANT_USER
|
||||
|
||||
# build JSB sim
|
||||
apt-get install -y libtool libtool-bin automake autoconf libexpat1-dev
|
||||
sudo -u $VAGRANT_USER sh <<"EOF"
|
||||
cd $HOME
|
||||
sudo -u $VAGRANT_USER -H bash <<"EOF"
|
||||
set -e
|
||||
set -x
|
||||
|
||||
cd
|
||||
rm -rf jsbsim
|
||||
git clone https://github.com/tridge/jsbsim.git
|
||||
cd jsbsim
|
||||
|
Loading…
Reference in New Issue
Block a user