]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
ts-xen-install: wheezy has libyajl2 not 1
authorIan Campbell <ian.campbell@citrix.com>
Thu, 5 Sep 2013 15:06:39 +0000 (16:06 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 5 Sep 2013 15:06:39 +0000 (16:06 +0100)
ts-xen-install

index ca644b7ed1793c8d353e5533093066871635213c..77100a2b6749baec3822f7fb58f9547d791033e8 100755 (executable)
@@ -47,9 +47,10 @@ our $ho;
 my %distpath;
 
 sub packages () {
+    my $yajl = $ho->{Suite} =~ "/wheezy/" ? "libyajl2" : "libyajl1";
     target_install_packages($ho,
                             qw(bridge-utils vncsnapshot libaio1 libpixman-1-0
-                               libsdl1.2debian libyajl1 libglib2.0-0));
+                               libsdl1.2debian $yajl libglib2.0-0));
     if ($r{arch} eq 'i386') {
        target_install_packages($ho, 'libc6-xen');
     }