]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
Debian: install libc6-dev-i386 for Wheezy amd64
authorWei Liu <wei.liu2@citrix.com>
Fri, 20 Sep 2013 09:10:42 +0000 (10:10 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 14 Oct 2013 17:04:51 +0000 (18:04 +0100)
Wheezy introduces multilib, which makes i386 headers not available on
amd64 by default.

We need to install libc6-dev-i386, otherwise the test code for 32bit
instruction decoder/emulator fails.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
ts-xen-build-prep

index 4f8158698d232ccdbecaffa75a85162037258268..b6126f17d1fe4124f60144b8b123563ad901369c 100755 (executable)
@@ -181,6 +181,10 @@ sub prep () {
 mq=
 END
     }
+
+    if ($r{arch} eq 'amd64' && $ho->{Suite} =~ m/wheezy/) {
+        target_install_packages($ho, 'libc6-dev-i386');
+    }
 }
 
 sub cacheing_git_mount () {