summaryrefslogtreecommitdiffstats
path: root/vagrant
diff options
context:
space:
mode:
authorGeir Storli <geirstorli@yahoo.no>2018-09-17 17:01:05 +0200
committerGitHub <noreply@github.com>2018-09-17 17:01:05 +0200
commit8ee3f6c1dfbe8cc6d0894db8e807bb9eccd5fa78 (patch)
tree6ea7eee9ad28dbd0de5c973814fc9627ddeda7b4 /vagrant
parentcd33f66c41a9b6d61b39ac599e085ea3a1075943 (diff)
parentd950a87eec8d4f3adb99b06842bb5c6189232b83 (diff)
Merge pull request #6982 from vespa-engine/toregge/install-runtime-deps
Install vespa runtime dependencies.
Diffstat (limited to 'vagrant')
-rw-r--r--vagrant/Vagrantfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile
index f15f45d75a0..996636aeb01 100644
--- a/vagrant/Vagrantfile
+++ b/vagrant/Vagrantfile
@@ -61,7 +61,9 @@ Vagrant.configure("2") do |config|
firefox \
vim \
emacs
- yum-builddep -y /vagrant/dist/vespa.spec
+ sed -e '/^BuildRequires:/d' -e 's/^Requires:/BuildRequires:/' /vagrant/dist/vespa.spec > /tmp/vesparun.spec
+ yum-builddep -y /vagrant/dist/vespa.spec /tmp/vesparun.spec
+ rm /tmp/vesparun.spec
echo -e "* soft nproc 409600\n* hard nproc 409600" > /etc/security/limits.d/99-nproc.conf
echo -e "* soft nofile 262144\n* hard nofile 262144" > /etc/security/limits.d/99-nofile.conf