From: Wei Liu Date: Fri, 2 Jun 2017 17:05:10 +0000 (+0100) Subject: ts-xen-build-prep: only install w3c-dtd-xhtml for suites Acked-by: Ian Jackson --- diff --git a/ts-xen-build-prep b/ts-xen-build-prep index 23bbbeb9..a15ab3df 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -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)); }