]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
ts-xen-build-prep: only install w3c-dtd-xhtml for suites <Stretch
authorWei Liu <wei.liu2@citrix.com>
Fri, 2 Jun 2017 17:05:10 +0000 (18:05 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Mon, 26 Nov 2018 16:31:44 +0000 (16:31 +0000)
That package is not included in Stretch.

That package was installed because libvirt build needed it. However
libvirt builds fine without it in Stretch.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-xen-build-prep

index 23bbbeb92237c83ec6f7b0de0a8fa5849b5c2889..a15ab3dfa7309b658f5f8f01087c8326ba6d72ce 100755 (executable)
@@ -206,11 +206,13 @@ sub prep () {
                       libglib2.0-dev liblzma-dev pkg-config
                       autoconf automake libtool xsltproc
                       libxml2-utils libxml2-dev
-                      libdevmapper-dev w3c-dtd-xhtml libxml-xpath-perl
-                      libelf-dev
+                      libdevmapper-dev libxml-xpath-perl libelf-dev
                       ccache nasm checkpolicy ebtables
                       libgnutls28-dev);
 
+    if ($ho->{Suite} =~ m/squeeze|wheezy|jessie/) {
+       push(@packages, "w3c-dtd-xhtml");
+    }
     if ($ho->{Suite} !~ m/squeeze|wheezy/) {
        push(@packages, qw(ocaml-nox ocaml-findlib));
     }