Re: [OE-core] [PATCH 3/5] image_types.bbclass: fix EXTRA_IMAGECMD_sum.jffs2

2013-10-30 Thread Andrea Adami
On Tue, Oct 29, 2013 at 4:33 PM, Richard Purdie wrote: > On Tue, 2013-10-29 at 13:17 +0100, Andrea Adami wrote: >> On Tue, Oct 29, 2013 at 12:45 PM, Richard Purdie >> wrote: >> > On Tue, 2013-10-29 at 12:17 +0100, Andrea Adami wrote: >> >> On Tue, Oct 29, 2013 at 12:01 PM, Richard Purdie >> >> w

Re: [OE-core] [PATCH 3/5] image_types.bbclass: fix EXTRA_IMAGECMD_sum.jffs2

2013-10-29 Thread Richard Purdie
On Tue, 2013-10-29 at 13:17 +0100, Andrea Adami wrote: > On Tue, Oct 29, 2013 at 12:45 PM, Richard Purdie > wrote: > > On Tue, 2013-10-29 at 12:17 +0100, Andrea Adami wrote: > >> On Tue, Oct 29, 2013 at 12:01 PM, Richard Purdie > >> wrote: > >> > On Mon, 2013-10-21 at 00:34 +0200, Andrea Adami wr

Re: [OE-core] [PATCH 3/5] image_types.bbclass: fix EXTRA_IMAGECMD_sum.jffs2

2013-10-29 Thread Richard Purdie
On Tue, 2013-10-29 at 12:17 +0100, Andrea Adami wrote: > On Tue, Oct 29, 2013 at 12:01 PM, Richard Purdie > wrote: > > On Mon, 2013-10-21 at 00:34 +0200, Andrea Adami wrote: > >> When overriding EXTRA_IMAGE_CMD_jffs2 = "--pad=foo ..." > >> we are passing a malformed option to sumtool: > >> > >> su

Re: [OE-core] [PATCH 3/5] image_types.bbclass: fix EXTRA_IMAGECMD_sum.jffs2

2013-10-29 Thread Andrea Adami
On Tue, Oct 29, 2013 at 12:01 PM, Richard Purdie wrote: > On Mon, 2013-10-21 at 00:34 +0200, Andrea Adami wrote: >> When overriding EXTRA_IMAGE_CMD_jffs2 = "--pad=foo ..." >> we are passing a malformed option to sumtool: >> >> sumtool: option '--pad' doesn't allow an argument >> >> Fix this by dec

Re: [OE-core] [PATCH 3/5] image_types.bbclass: fix EXTRA_IMAGECMD_sum.jffs2

2013-10-29 Thread Richard Purdie
On Mon, 2013-10-21 at 00:34 +0200, Andrea Adami wrote: > When overriding EXTRA_IMAGE_CMD_jffs2 = "--pad=foo ..." > we are passing a malformed option to sumtool: > > sumtool: option '--pad' doesn't allow an argument > > Fix this by declaring a separate variable for the purpose. > > Signed-off-by:

Re: [OE-core] [PATCH 3/5] image_types.bbclass: fix EXTRA_IMAGECMD_sum.jffs2

2013-10-29 Thread Andrea Adami
BUMP I've seen the first two bugfixes have been applied and now it is possible to override EXTRA_IMAGECMD_jffs2. This patch fixes the case of sum.jffs2 when a padding value is specified because sumtool won't swallow it. Thx Andrea On Mon, Oct 21, 2013 at 12:34 AM, Andrea Adami wrote: > When

[OE-core] [PATCH 3/5] image_types.bbclass: fix EXTRA_IMAGECMD_sum.jffs2

2013-10-20 Thread Andrea Adami
When overriding EXTRA_IMAGE_CMD_jffs2 = "--pad=foo ..." we are passing a malformed option to sumtool: sumtool: option '--pad' doesn't allow an argument Fix this by declaring a separate variable for the purpose. Signed-off-by: Andrea Adami --- meta/classes/image_types.bbclass | 5 +++-- 1 file