xmlto: tell xmlto where cp is

xmlto looks for a cp binary, and on e.g. Fedora 23 will find it at /usr/bin/cp
but most other distros have it at /bin/cp.  This causing problems with sharing
sstate between distributions, but as /bin is a symlink on F23 we can safely
force the path to /bin/cp.

(From OE-Core rev: 46baed0fc22ab33c6481ec1cb1697f85593b4794)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2016-03-08 11:27:35 +00:00 committed by Richard Purdie
parent 6d89b5201b
commit 9ac029bd4a
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ RDEPENDS_${PN}_append_class-target = " \
BBCLASSEXTEND = "native"
EXTRA_OECONF_append = " BASH=/bin/bash XMLLINT=xmllint XSLTPROC=xsltproc"
EXTRA_OECONF_append = " BASH=/bin/bash GCP=/bin/cp XMLLINT=xmllint XSLTPROC=xsltproc"
do_install_append() {
install -d ${D}${sysconfdir}/xml/