]> xenbits.xensource.com Git - osstest.git/commitdiff
Make libfdt available at build and runtime.
authorIan Campbell <ian.campbell@citrix.com>
Wed, 20 Nov 2013 09:24:11 +0000 (09:24 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 20 Nov 2013 09:30:14 +0000 (09:30 +0000)
This library is only available from Wheezy onwards and is only used by ARM.
Since ARM tests require Wheezy just install on Wheezy onwards. The presence of
this library would be harmless if x86 were using Wheezy (but it currently uses
Squeeze so is totally unaffected)

ts-xen-build-prep
ts-xen-install

index e9e23b10ae6de4813bfd8aef23809853e99f19a1..b39558437562c810f234fe9dc266e422e90911f3 100755 (executable)
@@ -182,6 +182,9 @@ mq=
 END
     }
 
+    if ($ho->{Suite} !~ m/lenny|squeeze/) {
+        target_install_packages($ho, 'libfdt-dev');
+    }
     if ($r{arch} eq 'amd64' && $ho->{Suite} =~ m/wheezy/) {
         target_install_packages($ho, 'libc6-dev-i386');
     }
index ae1e0f8b05d74f32f08132f30bce799d487b328e..70b9e22b32fed55fcf4c7abc83d47c3c2de281e2 100755 (executable)
@@ -52,6 +52,9 @@ sub packages () {
                                libsdl1.2debian libglib2.0-0));
     target_install_packages($ho,
                            $ho->{Suite} =~ /squeeze/ ? "libyajl1" : "libyajl2");
+    if ($ho->{Suite} !~ m/lenny|squeeze/) {
+        target_install_packages($ho, 'libfdt1');
+    }
     if ($r{arch} eq 'i386') {
        target_install_packages($ho, 'libc6-xen');
     }