chiark / gitweb /
Install ia32-libs on 64 bit vm only (I think)
authorCiaran Gultnieks <ciaran@ciarang.com>
Sat, 25 May 2013 13:01:49 +0000 (14:01 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Sat, 25 May 2013 13:01:49 +0000 (14:01 +0100)
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.

buildserver/cookbooks/fdroidbuild-general/recipes/default.rb

index 7244b794373be177f39252ee150302fdb6e5852d..b26a5603c9eb4088226d5f6bab038ce79bdc9cb7 100644 (file)
@@ -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
+