Skip to contentSkip to conversation

Setting image size

DISCUSSION Gary Thomas 2 participants 3 messages May 11, 2011 – May 12, 2011

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 8 lines · Gary Thomas

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

Signature · 3 lines
Joshua Lock
        Yocto Build System Monkey
        Intel Open Source Technology Centre
#2 lore raw
Quoted 15 lines · Joshua Lock
Quoted 8 lines · Gary Thomas

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.

Quoted 6 lines

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.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------