Poky Project Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] SRC_URI checksum support v2
@ 2010-12-14 10:01 Yu Ke
  2010-12-14  7:55 ` [PATCH 1/1] FetchData: add SRC_URI checksum Yu Ke
  2010-12-14 12:32 ` [PATCH 0/1] SRC_URI checksum support v2 Koen Kooi
  0 siblings, 2 replies; 6+ messages in thread
From: Yu Ke @ 2010-12-14 10:01 UTC (permalink / raw)
  To: poky

This patch add SRC_URI checksum support. With this patch,fetcher
can verify the MD5 and SHA256 checksum of download src with the
value defined in recipes SRC_URI.

This is the V2 patch. The major change compared to V1 is:
moving the logic from poky bbclass to bitbake fetcher, per
Richard's comment

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: kyu3/srcuri-v2
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/srcuri-v2

Thanks,
    Yu Ke <ke.yu@intel.com>
---


Yu Ke (1):
  FetchData: add SRC_URI checksum

 bitbake/lib/bb/fetch/__init__.py |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/1] SRC_URI checksum support v3
@ 2010-12-17  6:33 Yu Ke
  2010-12-17  5:52 ` [PATCH 1/1] FetchData: add SRC_URI checksum Yu Ke
  0 siblings, 1 reply; 6+ messages in thread
From: Yu Ke @ 2010-12-17  6:33 UTC (permalink / raw)
  To: poky

This patch add SRC_URI checksum support. With this patch,fetcher
can verify the MD5 and SHA256 checksum of download src with the
value defined in recipes SRC_URI.

This is the v3 patch with following changes compared with v2:
- add configurable variable BB_STRICT_CHECKSUM to handle checksum missing case
  if checksum is missing and BB_STRICT_CHECKSUM = "1", bitbake will fatal
- add check to only verify checksum for protocol http/https/ftp/ftps, not
  verify checksum for local file and other SCM

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: kyu3/srcuri-v3
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/srcuri-v3

Thanks,
    Yu Ke <ke.yu@intel.com>
---


Yu Ke (1):
  FetchData: add SRC_URI checksum

 bitbake/lib/bb/fetch/__init__.py |   49 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-17  6:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 10:01 [PATCH 0/1] SRC_URI checksum support v2 Yu Ke
2010-12-14  7:55 ` [PATCH 1/1] FetchData: add SRC_URI checksum Yu Ke
2010-12-15  9:12   ` Richard Purdie
2010-12-16  9:16     ` Yu Ke
2010-12-14 12:32 ` [PATCH 0/1] SRC_URI checksum support v2 Koen Kooi
  -- strict thread matches above, loose matches on Subject: below --
2010-12-17  6:33 [PATCH 0/1] SRC_URI checksum support v3 Yu Ke
2010-12-17  5:52 ` [PATCH 1/1] FetchData: add SRC_URI checksum Yu Ke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox