aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant_build.sh
AgeCommit message (Collapse)AuthorFilesLines
2015-06-26tools: permit setting BIN_DIR in the environmentEvan Huus1-0/+1
For out-of-tree builds you have to pass the location of your build to our tools like the fuzz script, valgrind script etc. Modify them so that the value can be set in the environment rather than requiring a shell script flag. Set the environment variable in the vagrant provision step, so that the scripts Just Work (TM) in the VM. Change-Id: If8ce6b278176085ba6dd994137b82fc989b80124 Reviewed-on: https://code.wireshark.org/review/9168 Reviewed-by: Evan Huus <eapache@gmail.com>
2015-06-25Tell vagrant that it's a dev environmentEvan Huus1-0/+1
Put WIRESHARK_RUN_FROM_BUILD_DIRECTORY in the shell profile so that wireshark knows it's running from a build directory (which it otherwise sometimes doesn't for out-of-tree cmake). This fixes lua and other things in the vagrant build. Change-Id: I69775612d0f9161ce9b30c32122aee52a1106cbc Reviewed-on: https://code.wireshark.org/review/9148 Reviewed-by: Evan Huus <eapache@gmail.com>
2015-06-25Vagrant setup fixesEvan Huus1-2/+23
- add license headers to the scripts - don't mount `.` into the VM manually, vagrant already puts it in /vagrant/ for us, just use that. - build with -j3, slightly more efficient even with two cores Change-Id: I43580ade7ae2635696072b39e4f18a401a030a85 Reviewed-on: https://code.wireshark.org/review/9127 Reviewed-by: Evan Huus <eapache@gmail.com>
2015-06-25Add basic Vagrant configurationEvan Huus1-0/+7
For non-linux developers this should somewhat simplify development with e.g. valgrind and other useful tools. Change-Id: I973ab7412ad9a61f0892c25c079ea3424208abd1 Reviewed-on: https://code.wireshark.org/review/9117 Reviewed-by: Evan Huus <eapache@gmail.com>