All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting image size
@ 2011-05-11 23:43 Gary Thomas
  2011-05-12  0:01 ` Joshua Lock
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2011-05-11 23:43 UTC (permalink / raw)
  To: Poky Project

I'm trying to increase the size of the pseudo disk used by Qemu.
The variable IMAGE_ROOTFS_SIZE sets this.  If I add
   IMAGE_ROOTFS_SIZE_ext3=512000
to conf/local.conf, I get what I want.

So why doesn't this work (without any changes to local.conf)?
   IMAGE_ROOTFS_SIZE_ext3=512000 bitbake core-image-sato

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: Setting image size
  2011-05-11 23:43 Setting image size Gary Thomas
@ 2011-05-12  0:01 ` Joshua Lock
  2011-05-12  0:26   ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Lock @ 2011-05-12  0:01 UTC (permalink / raw)
  To: poky

On Wed, 2011-05-11 at 17:43 -0600, Gary Thomas wrote:
> I'm trying to increase the size of the pseudo disk used by Qemu.
> The variable IMAGE_ROOTFS_SIZE sets this.  If I add
>    IMAGE_ROOTFS_SIZE_ext3=512000
> to conf/local.conf, I get what I want.
> 
> So why doesn't this work (without any changes to local.conf)?
>    IMAGE_ROOTFS_SIZE_ext3=512000 bitbake core-image-sato
> 

The IMAGE_ROOTFS_SIZE variable is cleaned from the environment.

Variables which can be set from the shell at invocation are defined in
BB_ENV_WHITELIST and BB_ENV_EXTRAWHITE.

Does something like:

BB_ENV_EXTRAWHITE="IMAGE_ROOTFS_SIZE $BB_ENV_EXTRAWHITE"
IMAGE_ROOTFS_SIZE_ext3=512000 bitbake core-image-sato

do what you want?

Joshua
-- 
Joshua Lock
        Yocto Build System Monkey
        Intel Open Source Technology Centre



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

* Re: Setting image size
  2011-05-12  0:01 ` Joshua Lock
@ 2011-05-12  0:26   ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2011-05-12  0:26 UTC (permalink / raw)
  To: Joshua Lock; +Cc: poky

On 05/11/2011 06:01 PM, Joshua Lock wrote:
> On Wed, 2011-05-11 at 17:43 -0600, Gary Thomas wrote:
>> I'm trying to increase the size of the pseudo disk used by Qemu.
>> The variable IMAGE_ROOTFS_SIZE sets this.  If I add
>>     IMAGE_ROOTFS_SIZE_ext3=512000
>> to conf/local.conf, I get what I want.
>>
>> So why doesn't this work (without any changes to local.conf)?
>>     IMAGE_ROOTFS_SIZE_ext3=512000 bitbake core-image-sato
>>
>
> The IMAGE_ROOTFS_SIZE variable is cleaned from the environment.
>
> Variables which can be set from the shell at invocation are defined in
> BB_ENV_WHITELIST and BB_ENV_EXTRAWHITE.
>
> Does something like:
>
> BB_ENV_EXTRAWHITE="IMAGE_ROOTFS_SIZE $BB_ENV_EXTRAWHITE"
> IMAGE_ROOTFS_SIZE_ext3=512000 bitbake core-image-sato
>
> do what you want?

Sadly, no.  I tried both
   IMAGE_ROOTFS_SIZE_ext3=512000 bitbake core-image-sato
and
   IMAGE_ROOTFS_SIZE=512000 bitbake core-image-sato
and I just get the default size image.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

end of thread, other threads:[~2011-05-12  0:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-11 23:43 Setting image size Gary Thomas
2011-05-12  0:01 ` Joshua Lock
2011-05-12  0:26   ` Gary Thomas

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.