* seek help: I want to get SRC_URI, SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled recipes
@ 2014-06-26 1:44 yaoxp
2014-06-26 1:59 ` Robert Yang
0 siblings, 1 reply; 5+ messages in thread
From: yaoxp @ 2014-06-26 1:44 UTC (permalink / raw)
To: yocto@yoctoproject.org
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.
----------------------------------------------
NAME: Yao Xinpan
TEL:8559
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: seek help: I want to get SRC_URI, SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled recipes
2014-06-26 1:44 seek help: I want to get SRC_URI, SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled recipes yaoxp
@ 2014-06-26 1:59 ` Robert Yang
2014-06-26 2:45 ` yaoxp
0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2014-06-26 1:59 UTC (permalink / raw)
To: yaoxp@cn.fujitsu.com, yocto@yoctoproject.org
On 06/26/2014 09:44 AM, yaoxp@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
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: seek help: I want to get SRC_URI, SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled recipes
2014-06-26 1:59 ` Robert Yang
@ 2014-06-26 2:45 ` yaoxp
2014-06-26 2:50 ` Robert Yang
0 siblings, 1 reply; 5+ messages in thread
From: yaoxp @ 2014-06-26 2:45 UTC (permalink / raw)
To: Robert Yang, yocto@yoctoproject.org
>
> On 06/26/2014 09:44 AM, yaoxp@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.
I see. Thank you very much.
Will Yocto add this functionality?
I think Yocto should achieve the following functions:
1. Allows the developmenter to easily know which recipes were compiled and the information of compiled recipes.
Such as all the information listed in a file.
2. Which recipes will be compiled before really compile.
Thanks
Yao Xinpan
>
> // Robert
>
> >
> >
> > ----------------------------------------------
> > NAME: Yao Xinpan
> > TEL:8559
> >
> >
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: seek help: I want to get SRC_URI, SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled recipes
2014-06-26 2:45 ` yaoxp
@ 2014-06-26 2:50 ` Robert Yang
2014-06-26 2:55 ` yaoxp
0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2014-06-26 2:50 UTC (permalink / raw)
To: yaoxp@cn.fujitsu.com, yocto@yoctoproject.org
On 06/26/2014 10:45 AM, yaoxp@cn.fujitsu.com wrote:
>>
>> On 06/26/2014 09:44 AM, yaoxp@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.
>
> I see. Thank you very much.
>
> Will Yocto add this functionality?
I think no:-) since this is not a common function.
>
> I think Yocto should achieve the following functions:
> 1. Allows the developmenter to easily know which recipes were compiled and the information of compiled recipes.
> Such as all the information listed in a file.
Maybe you can try the archiver.bbclass, check
meta-yocto/conf/local.conf.sample.extended
for more info.
> 2. Which recipes will be compiled before really compile.
bitbake -g core-image-minimal
Then I think that the pn-buildlist is what you need.
// Robert
>
> Thanks
> Yao Xinpan
>
>>
>> // Robert
>>
>>>
>>>
>>> ----------------------------------------------
>>> NAME: Yao Xinpan
>>> TEL:8559
>>>
>>>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: seek help: I want to get SRC_URI, SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled recipes
2014-06-26 2:50 ` Robert Yang
@ 2014-06-26 2:55 ` yaoxp
0 siblings, 0 replies; 5+ messages in thread
From: yaoxp @ 2014-06-26 2:55 UTC (permalink / raw)
To: Robert Yang, yocto@yoctoproject.org
I see. Thank you ^_^
Thanks
Yao Xinpan
> On 06/26/2014 10:45 AM, yaoxp@cn.fujitsu.com wrote:
> >>
> >> On 06/26/2014 09:44 AM, yaoxp@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.
> >
> > I see. Thank you very much.
> >
> > Will Yocto add this functionality?
>
> I think no:-) since this is not a common function.
>
> >
> > I think Yocto should achieve the following functions:
> > 1. Allows the developmenter to easily know which recipes were compiled and
> the information of compiled recipes.
> > Such as all the information listed in a file.
>
> Maybe you can try the archiver.bbclass, check
> meta-yocto/conf/local.conf.sample.extended
>
> for more info.
>
> > 2. Which recipes will be compiled before really compile.
>
> bitbake -g core-image-minimal
>
> Then I think that the pn-buildlist is what you need.
>
> // Robert
>
> >
> > Thanks
> > Yao Xinpan
> >
> >>
> >> // Robert
> >>
> >>>
> >>>
> >>> ----------------------------------------------
> >>> NAME: Yao Xinpan
> >>> TEL:8559
> >>>
> >>>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-26 2:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-26 1:44 seek help: I want to get SRC_URI, SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled recipes yaoxp
2014-06-26 1:59 ` Robert Yang
2014-06-26 2:45 ` yaoxp
2014-06-26 2:50 ` Robert Yang
2014-06-26 2:55 ` yaoxp
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.