]> code.ossystems Code Review - openembedded-core.git/commitdiff
asciidoc-native: add dependency on docbook-xml-dtd4-native
authorAwais Belal <awais_belal@mentor.com>
Fri, 19 Aug 2016 11:08:13 +0000 (16:08 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 20 Aug 2016 15:05:28 +0000 (16:05 +0100)
During the compilation phase asciidoc runs a2x for validation
of some xmls which in turn invokes xmllint with --nonet
parameter that requires DTDs to be available locally in order
to succeed otherwise the do_compile fails.
We now add a direct dependency on docbook-xml-dtd4 so the
DTDs are always available locally.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/asciidoc/asciidoc_8.6.9.bb

index 1500b0ac066c0f948b6dd73682ea545d6803b42f..7597c0e57d36ef7aa8eeb5b6ab829a229e638f87 100644 (file)
@@ -16,5 +16,6 @@ SRC_URI[sha256sum] = "78db9d0567c8ab6570a6eff7ffdf84eadd91f2dfc0a92a2d0105d323ca
 inherit distutils autotools-brokensep
 
 export DESTDIR = "${D}"
+DEPENDS_class-native = "docbook-xml-dtd4-native"
 RDEPENDS_${PN} += "python" 
 BBCLASSEXTEND = "native"