All of lore.kernel.org
 help / color / mirror / Atom feed
* SRC_URI checksums
@ 2013-01-23 16:11 Darren Hart
  2013-01-23 16:46 ` Jerrod Peach
  0 siblings, 1 reply; 3+ messages in thread
From: Darren Hart @ 2013-01-23 16:11 UTC (permalink / raw)
  To: Yocto Project

What is the practice for SRC_URI checksums? I see many recipes with both
md5sum and sha256sum. Is there a need to have both? Is one preferred
over the other?

Thanks,

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel


^ permalink raw reply	[flat|nested] 3+ messages in thread
* SRC URI checksums
@ 2019-01-28 18:14 Edward Wingate
  0 siblings, 0 replies; 3+ messages in thread
From: Edward Wingate @ 2019-01-28 18:14 UTC (permalink / raw)
  To: yocto

I have a recipe that has a SRC_URI retrieving from a mercurial repo:
SRC_URI = "hg://server/project;module=name;rev=tip"
SRC_URI[md5sum] = "xxx"
SRC_URI[sha256sum] = "yyy"

I changed the SRC_URL to retreive from a specific revision instead of tip:
SRC_URI = "hg://server/project;module=name;rev=1234567890"

I went ahead and did a bitbake, expecting it to complain about the
SRC_URI checksums not matching, and I would go ahead and update the
checksums from the error output.

But it succeeded, building with the correct revision.  I thought the
SRC_URI checksums had to be updated when the SRC_URI changes?

Ed


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

end of thread, other threads:[~2019-01-28 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 16:11 SRC_URI checksums Darren Hart
2013-01-23 16:46 ` Jerrod Peach
  -- strict thread matches above, loose matches on Subject: below --
2019-01-28 18:14 SRC URI checksums Edward Wingate

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.