[yocto] WARNING: Could not copy license file LICENSE -> Downloaded archive structure?

Kai Ulrich kaiu at gmx.de
Fri Feb 20 06:44:24 PST 2015


Hi,

I working on a smstools3 recipe.

after running bitbake smstools3

I got following
WARNING: Could not copy license file LICENSE: [Errno 2] No such file or
directory:
'/home/kulrich/Develpment/yocto/dizzy/poky/build_test/tmp/work/i586-poky-linux/smstools3/3.1.15-r0/smstools3-3.1.15/LICENSE'
Function failed: smstools3: LIC_FILES_CHKSUM points to an invalid file:
.../yocto/dizzy/poky/build_test/tmp/work/i586-poky-linux/smstools3/3.1.15-r0/smstools3-3.1.15/LICENSE

After looking for the LICENSE found it under
.../yocto/dizzy/poky/build_test/tmp/work/i586-poky-linux/smstools3/3.1.15-r0/smstools/LICENSE

It seams the reason is the Package structure of the smstools3-3.1.15.tar.gz.
it is

smstools3-3.1.15.tar.gz.
---smstools3
-------src
-------scripts
-------examples
-------doc
-------uninstall.sh
-------README
-------package.sh
-------Makefile
-------LICENSE

with a struktur (2) like

smstools3-3.1.15.tar.gz.
---smstools3-3.1.15
-------src
-------scripts
-------examples
-------doc
-------uninstall.sh
-------README
-------package.sh
-------Makefile
-------LICENSE

it works fine.

Any idea how I can configure my recipe that that it works with the original
package structure?

Kai Ulrich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150220/b693486d/attachment.html>


More information about the yocto mailing list