All of lore.kernel.org
 help / color / mirror / Atom feed
* image.bbclass broken?
@ 2009-02-15 14:25 Christian Pössinger
  2009-02-16  8:26 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Pössinger @ 2009-02-15 14:25 UTC (permalink / raw)
  To: openembedded-devel

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

Hello, 

after a recent 'git pull' of the -dev branch I'm not able to create images.

I receive the following error:

| awk: {size = 10240 + $1; print (size > ${IMAGE_ROOTFS_SIZE} ? size :
${IMAGE_ROOTFS_SIZE}) }
| awk:
^ syntax 
| du: write error

Doing a grep for the line I found it:

org.openembedded.dev/classes/image.bbclass:110:
ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{size = ${IMAGE_EXTRA_SPACE} + $1;
print (size >                  ${IMAGE_ROOTFS_SIZE} ? size :
${IMAGE_ROOTFS_SIZE}) }'`

After replacing image.bbclass with the one from the -stable branch
everything worked again. I run OE on an up-2-date Ubuntu Server 8.10.


Can anyone confirm this behavior?

Best Regards
Christian Pössinger


[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3850 bytes --]

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

* Re: image.bbclass broken?
  2009-02-15 14:25 image.bbclass broken? Christian Pössinger
@ 2009-02-16  8:26 ` Denys Dmytriyenko
  0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2009-02-16  8:26 UTC (permalink / raw)
  To: openembedded-devel

On Sun, Feb 15, 2009 at 03:25:24PM +0100, Christian P?ssinger wrote:
> Hello, 
> 
> after a recent 'git pull' of the -dev branch I'm not able to create images.
> 
> I receive the following error:
> 
> | awk: {size = 10240 + $1; print (size > ${IMAGE_ROOTFS_SIZE} ? size :
> ${IMAGE_ROOTFS_SIZE}) }
> | awk:
> ^ syntax 
> | du: write error
> 
> Doing a grep for the line I found it:
> 
> org.openembedded.dev/classes/image.bbclass:110:
> ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{size = ${IMAGE_EXTRA_SPACE} + $1;
> print (size >                  ${IMAGE_ROOTFS_SIZE} ? size :
> ${IMAGE_ROOTFS_SIZE}) }'`
> 
> After replacing image.bbclass with the one from the -stable branch
> everything worked again. I run OE on an up-2-date Ubuntu Server 8.10.
> 
> Can anyone confirm this behavior?

Christian,

The change was made almost a month ago:
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&id=d38f1dd24dd6ed94408aa49aad33e46634a129ff
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&id=9d7586e655755f51be3f09f3da48147b0937c3e1

I haven't heard of anyone having any issues creating images since then.

Now, judging from the error message, I'd guess you have IMAGE_ROOTFS_SIZE 
variable undefined. Normally it is set to a default value by conf/bitbake.conf,
unless it was specifically set in one of the image recipes and/or your
local.conf...

-- 
Denys



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

end of thread, other threads:[~2009-02-16  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-15 14:25 image.bbclass broken? Christian Pössinger
2009-02-16  8:26 ` Denys Dmytriyenko

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.