[Yocto-builds] LIC_FILES_CHKSUM points to an invalid file

Paul Eggleton paul.eggleton at linux.intel.com
Thu Jun 6 07:42:46 PDT 2013


On Thursday 06 June 2013 00:23:02 Zafrullah Syed wrote:
> If you don't mind, can you give a short explanation why ' changing my bb file
> name to hello_2.7.bbsolved and the build was successful?

This is because the system uses the value of the S variable to determine where 
to look for the file specified in LIC_FILES_CHKSUM (and any other source files). 
The default value of S is "${WORKDIR}/${BP}", where BP is "${BPN}-${PV}" on 
the assumption that most third party source archives extract to a directory 
named like this. By default, BPN and PV will be determined from the recipe file 
name (part before the underscore and the part after, respectively). If you 
haven't included the version in the file name, the default value is "1.0". 
(Note that you can see the defaults for a lot of the common variables in 
meta/conf/bitbake.conf.) Thus without the version the code will look in a 
directory called "hello-1.0" under the workdir which of course doesn't exist.

[Please note that yocto-builds at yoctoproject.org is not the right mailing list 
for discussions or support questions. Please send these to 
yocto at yoctoproject.org in future.]

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto-builds mailing list