From: Ciaran Gultnieks Date: Mon, 4 Nov 2013 12:35:53 +0000 (+0000) Subject: Force apt-get update on buildserver creation X-Git-Tag: 0.1~234 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9910e742426d4749bf5012ac6a1bc86442f9c77d;p=fdroidserver.git Force apt-get update on buildserver creation --- diff --git a/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb b/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb index c5701474..dcd4dc9c 100644 --- a/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb +++ b/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb @@ -1,6 +1,11 @@ user = node[:settings][:user] +execute "apt-get-update" do + command "apt-get update" + action :nothing +end + %w{ant ant-contrib autoconf autopoint bison cmake expect libtool libsaxonb-java libssl1.0.0 libssl-dev maven openjdk-7-jdk javacc python python-magic git-core mercurial subversion bzr git-svn make perlmagick pkg-config zip ruby rubygems librmagick-ruby yasm imagemagick gettext realpath}.each do |pkg| package pkg do action :install