Using A Proprietary Closed License Inside A Layer & Its Recipes
Hi,
Quoted 7 lines · Thomas A. F. Thorne MEng AUS MIET
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?
Quoted 4 lines
ERROR: recipe-0.1-r0
do_configure: QA Issue: recipe:LIC_FILES_CHKSUMpoints to an invalid file:/home/thomasthorne/work/yocto/build-lib/tmp/work/all-poky-linux/recipe/0.1-r0/companyname[license-checksum]
Regards,
Robert