From: Ciaran Gultnieks Date: Sat, 25 May 2013 13:01:49 +0000 (+0100) Subject: Install ia32-libs on 64 bit vm only (I think) X-Git-Tag: 0.1~566 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c25a0ee68131995fcd60714d66f8902127d4d44a;p=fdroidserver.git Install ia32-libs on 64 bit vm only (I think) I think this will work, but I haven't tested it yet. It's required because all the android sdk tools (e.g. aapt) are 32 bit binaries. --- diff --git a/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb b/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb index 7244b794..b26a5603 100644 --- a/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb +++ b/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb @@ -18,3 +18,11 @@ end end end +if node['kernel']['machine'] == "x86_64" + %w{ia32-libs}.each do |pkg| + package pkg do + action :install + end + end +end +