[yocto] Using A Proprietary Closed License Inside A Layer & Its Recipes
gmane at reliableembeddedsystems.com
gmane at reliableembeddedsystems.com
Fri Jun 16 01:59:22 PDT 2017
Hi,
On 2017-06-15 17:52, Thomas A. F. Thorne MEng AUS MIET wrote:
> Good afternoon,
>
> I am putting together a meta-company-name layer to hold some internal
> code. This will contain a few BSPs for our units, some internally
> developed applications and a few config file patches. I am having
> trouble getting recipes to be related to the proprietary license.
>
I am doing something very similar which seems to work:
1) I create a custom-licenses dir in my layer which contains custom
licenses
2) add custom license path to layer.conf:
LICENSE_PATH += " ${LAYERDIR}/custom-licenses"
3) In the recipe I do this:
LICENSE = "hello-license"
LIC_FILES_CHKSUM =
"file://${THISDIR}/../../custom-licenses/hello-license;beginline=5;endline=12;md5=36e6988a930e054886e6af19372edb07"
But I don't think that the beginline,endline makes a difference.
Can you try pointing at ${THISIR}/../../<where ever your custom-licenses
dir is> and see if this makes any difference?
> ERROR: recipe-0.1-r0 do_configure: QA Issue: recipe: LIC_FILES_CHKSUM
> points to an invalid file:
> /home/thomasthorne/work/yocto/build-lib/tmp/work/all-poky-linux/recipe/0.1-r0/companyname
> [license-checksum]
Regards,
Robert
More information about the yocto
mailing list