[yocto] seek help: I want to get SRC_URI, SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled recipes

Robert Yang liezhi.yang at windriver.com
Wed Jun 25 18:59:56 PDT 2014



On 06/26/2014 09:44 AM, yaoxp at cn.fujitsu.com wrote:
> Hi everyone
>
> I want to get SRC_URI,SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled recipes.
> How to achieve it?
>
> e.g.
> # bitbake core-image-minimal
>
> I want to get SRC_URI,SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled BB files, including native BB files.

I think that you can get them one by one, perhaps you can add something like:

d.getVar('SRC_URI', True)
d.getVarFlag('SRC_URI', 'md5sum', True)
d.getVarFlag('SRC_URI', 'sha256sum', True)

to the base_do_fetch in meta/classes/base.bbclass.

// Robert

>
>
> ----------------------------------------------
> NAME: Yao Xinpan
> TEL:8559
>
>



More information about the yocto mailing list