Kai,
On 02/20/2015 06:44 AM, Kai Ulrich wrote:
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?
You might need to override the source directory in the recipe.
S = "${WORKDIR}/${BP}"
- Armin
Kai Ulrich
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto