]> xenbits.xensource.com Git - people/liuw/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)
committerWei Liu <wei.liu2@citrix.com>
Mon, 7 May 2018 12:50:10 +0000 (13:50 +0100)
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 3309216680a8f3581d848c9e1798febe36c3745b..59ad280555d88d5a43c9be24c43ffc4b9ea0e80b 100755 (executable)
@@ -206,10 +206,12 @@ 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);
 
+    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));
     }