]> code.ossystems Code Review - openembedded-core.git/commit
license.bbclass: fix missing of license files on ubuntu build host
authorChen Qi <Qi.Chen@windriver.com>
Mon, 18 Nov 2013 07:20:44 +0000 (15:20 +0800)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 3 Dec 2013 16:49:24 +0000 (16:49 +0000)
commit54a2cc32028c99f2541f5be3ef49ff1f292832b0
tree6340b2e2e0189ef6e36d345f86d635ac843eabd4
parent9fdea109d65c338913caa22e3a09f0408c361536
license.bbclass: fix missing of license files on ubuntu build host

The license_create_manifest function contains bashism, this will lead
to unexpected results on ubuntu build host, as sh is linked to dash on
ubuntu. Even if COPY_LIC_MANIFEST and COPY_LIC_DIRS are enabled, the
license files will still be missing on target.

This patch fixes the above problem.

[YOCTO #5549]

(From OE-Core master rev: 4df9daee5c732c0a20dabe8515577238a1508512)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/license.bbclass