All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: "yaoxp@cn.fujitsu.com" <yaoxp@cn.fujitsu.com>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: seek help: I want to get SRC_URI, SRC_URI[md5sum] and SRC_URI[sha256sum] of compiled recipes
Date: Thu, 26 Jun 2014 09:59:56 +0800	[thread overview]
Message-ID: <53AB7E9C.1000805@windriver.com> (raw)
In-Reply-To: <9AD1F2A584A7644C9605656D538412FEAA78E9@G08CNEXMBPEKD03.g08.fujitsu.local>



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
>
>


  reply	other threads:[~2014-06-26  2:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2014-06-26  2:45   ` yaoxp
2014-06-26  2:50     ` Robert Yang
2014-06-26  2:55       ` yaoxp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53AB7E9C.1000805@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=yaoxp@cn.fujitsu.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.