aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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