[yocto] understanding recipes

Gary Thomas gary at mlbassoc.com
Sat Jan 28 02:13:34 PST 2012


On 2012-01-27 18:42, McClintock Matthew-B29882 wrote:
> On Fri, Jan 27, 2012 at 10:43 AM, Joshua Lock<josh at linux.intel.com>  wrote:
>> On 26/01/12 14:11, Scott Garman wrote:
>>>
>>> In this case, the LIC_FILES_CHKSUM is storing the md5sum of the COPYING
>>> file, which is stored in the top-level directory of the extracted sources.
>>>
>>> So manually download the hello version you are trying to use, extract
>>> the tarball locally, and run md5sum against the COPYING file. Then
>>> update the LIC_FILES_CHKSUM field with that new md5 checksum.
>>
>>
>> Or if you're lazy, like me, you can just run the build and let it fail then
>> run md5sum on the extracted source in the work directory.
>>
>> i.e. for qemux86 hello world I could bitbake helloworld then:
>>
>> md5sum tmp/work/i586-poky-linux/hello-world-2.7-r0/hello-world-2.7/COPYING
>
> I think it even tells you what it should be, so you don't even need to
> do this step. Just set the right file and the correct lines within the
> file and run until failure.

Not quite; bitbake will tell you what the correct MD5 and SHA checksums
are for the source package, but it has ho idea what file(s) contain
license information so there's little it can do to guide you on that front.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list