Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Make missing checksums an error
@ 2011-12-02 19:20 Joshua Lock
  2011-12-02 19:20 ` [PATCH 1/1] default-distrovars: missing checksums should raise " Joshua Lock
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Joshua Lock @ 2011-12-02 19:20 UTC (permalink / raw)
  To: openembedded-core

NOTE: this requires a patch I sent to the BitBake list[1] to error cleanly,
otherwise you'll see a Python backtrace and the build fail...

Per some discussion on the list recently this patch sets BB_STRICT_CHECKSUM
in the default-distrovars.inc so that missing checksums in recipes raises an
error.

Cheers,
Joshua

1. lists.linuxtogo.org/pipermail/bitbake-devel/2011-December/thread.html 

The following changes since commit 044324465bd54d53ae768f3c1e7468ae0e0c6200:

  dpkg-native: Fix perl path (2011-12-02 15:31:03 +0000)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib josh/checksums
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=josh/checksums

Joshua Lock (1):
  default-distrovars: missing checksums should raise an error

 meta/conf/distro/include/default-distrovars.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

-- 
1.7.7.3




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

* [PATCH 1/1] default-distrovars: missing checksums should raise an error
  2011-12-02 19:20 [PATCH 0/1] Make missing checksums an error Joshua Lock
@ 2011-12-02 19:20 ` Joshua Lock
  2011-12-05 21:50 ` [PATCH 0/1] Make missing checksums " Joshua Lock
  2011-12-05 22:50 ` Richard Purdie
  2 siblings, 0 replies; 8+ messages in thread
From: Joshua Lock @ 2011-12-02 19:20 UTC (permalink / raw)
  To: openembedded-core

Set BB_STRICT_CHECKSUM in default-distrovars so that an error is raised
if no checksum is set.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 meta/conf/distro/include/default-distrovars.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
index 6f5f1c0..e1594f3 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -48,3 +48,6 @@ NO32LIBS ??= "1"
 BBINCLUDELOGS ??= "yes"
 SDK_VERSION ??= "oe-core.0"
 DISTRO_VERSION ??= "oe-core.0"
+
+# Missing checksums should raise an error
+BB_STRICT_CHECKSUM = "1"
-- 
1.7.7.3




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

* Re: [PATCH 0/1] Make missing checksums an error
  2011-12-02 19:20 [PATCH 0/1] Make missing checksums an error Joshua Lock
  2011-12-02 19:20 ` [PATCH 1/1] default-distrovars: missing checksums should raise " Joshua Lock
@ 2011-12-05 21:50 ` Joshua Lock
  2011-12-05 22:50 ` Richard Purdie
  2 siblings, 0 replies; 8+ messages in thread
From: Joshua Lock @ 2011-12-05 21:50 UTC (permalink / raw)
  To: openembedded-core

On 02/12/11 11:20, Joshua Lock wrote:
> NOTE: this requires a patch I sent to the BitBake list[1] to error cleanly,
> otherwise you'll see a Python backtrace and the build fail...

This patch has now been merged into BitBake master.

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre



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

* Re: [PATCH 0/1] Make missing checksums an error
  2011-12-02 19:20 [PATCH 0/1] Make missing checksums an error Joshua Lock
  2011-12-02 19:20 ` [PATCH 1/1] default-distrovars: missing checksums should raise " Joshua Lock
  2011-12-05 21:50 ` [PATCH 0/1] Make missing checksums " Joshua Lock
@ 2011-12-05 22:50 ` Richard Purdie
  2011-12-05 22:55   ` Joshua Lock
  2 siblings, 1 reply; 8+ messages in thread
From: Richard Purdie @ 2011-12-05 22:50 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2011-12-02 at 11:20 -0800, Joshua Lock wrote:
> NOTE: this requires a patch I sent to the BitBake list[1] to error cleanly,
> otherwise you'll see a Python backtrace and the build fail...
> 
> Per some discussion on the list recently this patch sets BB_STRICT_CHECKSUM
> in the default-distrovars.inc so that missing checksums in recipes raises an
> error.
> 
> Cheers,
> Joshua

What's the state of master? If I merge this, how badly do things
explode?

Cheers,

Richard




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

* Re: [PATCH 0/1] Make missing checksums an error
  2011-12-05 22:50 ` Richard Purdie
@ 2011-12-05 22:55   ` Joshua Lock
  2011-12-06  2:13     ` Joshua Lock
  0 siblings, 1 reply; 8+ messages in thread
From: Joshua Lock @ 2011-12-05 22:55 UTC (permalink / raw)
  To: openembedded-core

On 05/12/11 14:50, Richard Purdie wrote:
> On Fri, 2011-12-02 at 11:20 -0800, Joshua Lock wrote:
>> NOTE: this requires a patch I sent to the BitBake list[1] to error cleanly,
>> otherwise you'll see a Python backtrace and the build fail...
>>
>> Per some discussion on the list recently this patch sets BB_STRICT_CHECKSUM
>> in the default-distrovars.inc so that missing checksums in recipes raises an
>> error.
>>
>> Cheers,
>> Joshua
> 
> What's the state of master? If I merge this, how badly do things
> explode?

Let me run a universe fetchall and get back to you...

Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre



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

* Re: [PATCH 0/1] Make missing checksums an error
  2011-12-05 22:55   ` Joshua Lock
@ 2011-12-06  2:13     ` Joshua Lock
  2011-12-06  7:18       ` Koen Kooi
  0 siblings, 1 reply; 8+ messages in thread
From: Joshua Lock @ 2011-12-06  2:13 UTC (permalink / raw)
  To: openembedded-core



On 05/12/11 14:55, Joshua Lock wrote:
> On 05/12/11 14:50, Richard Purdie wrote:
>> On Fri, 2011-12-02 at 11:20 -0800, Joshua Lock wrote:
>>> NOTE: this requires a patch I sent to the BitBake list[1] to error cleanly,
>>> otherwise you'll see a Python backtrace and the build fail...
>>>
>>> Per some discussion on the list recently this patch sets BB_STRICT_CHECKSUM
>>> in the default-distrovars.inc so that missing checksums in recipes raises an
>>> error.
>>>
>>> Cheers,
>>> Joshua
>>
>> What's the state of master? If I merge this, how badly do things
>> explode?
> 
> Let me run a universe fetchall and get back to you...

Two recipes in oe-core require checksums adding, puzzles and
omap3-sgx-modules - a v2 of this request with those patches is incoming.

Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre



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

* Re: [PATCH 0/1] Make missing checksums an error
  2011-12-06  2:13     ` Joshua Lock
@ 2011-12-06  7:18       ` Koen Kooi
  2011-12-06 10:33         ` Paul Eggleton
  0 siblings, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2011-12-06  7:18 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]


Op 6 dec. 2011, om 03:13 heeft Joshua Lock het volgende geschreven:

> 
> 
> On 05/12/11 14:55, Joshua Lock wrote:
>> On 05/12/11 14:50, Richard Purdie wrote:
>>> On Fri, 2011-12-02 at 11:20 -0800, Joshua Lock wrote:
>>>> NOTE: this requires a patch I sent to the BitBake list[1] to error cleanly,
>>>> otherwise you'll see a Python backtrace and the build fail...
>>>> 
>>>> Per some discussion on the list recently this patch sets BB_STRICT_CHECKSUM
>>>> in the default-distrovars.inc so that missing checksums in recipes raises an
>>>> error.
>>>> 
>>>> Cheers,
>>>> Joshua
>>> 
>>> What's the state of master? If I merge this, how badly do things
>>> explode?
>> 
>> Let me run a universe fetchall and get back to you...
> 
> Two recipes in oe-core require checksums adding, puzzles and
> omap3-sgx-modules - a v2 of this request with those patches is incoming.

Omap3-sgx-modules has no place in OE-core, so it should get deleted.

regards,

KOen

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 169 bytes --]

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

* Re: [PATCH 0/1] Make missing checksums an error
  2011-12-06  7:18       ` Koen Kooi
@ 2011-12-06 10:33         ` Paul Eggleton
  0 siblings, 0 replies; 8+ messages in thread
From: Paul Eggleton @ 2011-12-06 10:33 UTC (permalink / raw)
  To: Koen Kooi; +Cc: openembedded-core

On Tuesday 06 December 2011 08:18:30 Koen Kooi wrote:
> Omap3-sgx-modules has no place in OE-core, so it should get deleted.

Sounds good, would you mind sending a patch that does that?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



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

end of thread, other threads:[~2011-12-06 10:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02 19:20 [PATCH 0/1] Make missing checksums an error Joshua Lock
2011-12-02 19:20 ` [PATCH 1/1] default-distrovars: missing checksums should raise " Joshua Lock
2011-12-05 21:50 ` [PATCH 0/1] Make missing checksums " Joshua Lock
2011-12-05 22:50 ` Richard Purdie
2011-12-05 22:55   ` Joshua Lock
2011-12-06  2:13     ` Joshua Lock
2011-12-06  7:18       ` Koen Kooi
2011-12-06 10:33         ` Paul Eggleton

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