All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yu Ke <ke.yu@intel.com>
To: Saul Wold <sgw@linux.intel.com>
Cc: yocto@yoctoproject.org, Scott Garman <scott.a.garman@intel.com>
Subject: Re: BKM on add SRC_URI MD5 and SHA256 checksum
Date: Thu, 18 Nov 2010 13:13:02 +0800	[thread overview]
Message-ID: <20101118051302.GA17596@kyu3-hedt> (raw)
In-Reply-To: <4CE4BB39.1060709@linux.intel.com>

On Nov 17, 21:35, Saul Wold wrote:
> On 11/17/2010 09:30 PM, Scott Garman wrote:
> >On 11/17/2010 09:10 PM, Saul Wold wrote:
> >>On 11/17/2010 06:32 PM, Yu, Ke wrote:
> >>>Hi Distro folks:
> >>>
> >>>As Saul suggest to add SRC_URI MD5 and SHA256 checksum when we
> >>>upgrade the recipes, here is a simple how-to:
> >>>
> >>>Two entry is needed for checksum, take
> >>>meta/recipes-extended/tar/tar_1.23.bb as example:
> >>>SRC_URI[md5sum] = "41e2ca4b924ec7860e51b43ad06cdb7e"
> >>>SRC_URI[sha256sum] =
> >>>"c9328372db62fbb1d94c9e4e3cefc961111af46de47085b635359c00a0eebe36"
> >>>
> >>Also, a clarification, these values should go at the END of the file,
> >>which I believe is the OE Style on this.
> >
> >The reason you see many OE files with the checksums at the end of the
> >file is that at one point a member of the OE community wrote a script to
> >append the values to a ton of recipes and then checked it in.
> >
> Can we borrow that script?  That's what I would be doing also!
> 
> If you know where it is, it would save some of the work I need to do.

Yes, in this case, distro people would better not to add checksum info during the recipes upgradtion. This will save upgrade effort, and also simplify the script, in that the script don't need to check if the checksum already add or not.

Regards
Ke

> 
> Sau!
> 
> >I would think that keeping the SRC_URI fields relatively close to each
> >other makes more logical sense. But I'm not going to get religious about
> >it.
> >
> >Scott
> >
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


  reply	other threads:[~2010-11-18  5:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18  2:32 BKM on add SRC_URI MD5 and SHA256 checksum Yu, Ke
2010-11-18  2:42 ` Scott Garman
2010-11-18  5:10 ` Saul Wold
2010-11-18  5:30   ` Scott Garman
2010-11-18  5:35     ` Saul Wold
2010-11-18  5:13       ` Yu Ke [this message]
2010-11-18 16:54       ` Scott Garman
2010-11-18 10:49     ` Joshua Lock

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=20101118051302.GA17596@kyu3-hedt \
    --to=ke.yu@intel.com \
    --cc=scott.a.garman@intel.com \
    --cc=sgw@linux.intel.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.