Setting image size
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 ------------------------------------------------------------
Quoted 8 lines · Gary Thomas
I'm trying to increase the size of the pseudo disk used by Qemu. The variable
IMAGE_ROOTFS_SIZEsets this. If I add
IMAGE_ROOTFS_SIZE_ext3=512000
toconf/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 CentreQuoted 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_SIZEsets this. If I addIMAGE_ROOTFS_SIZE_ext3=512000to
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-satoThe
IMAGE_ROOTFS_SIZEvariable is cleaned from the environment.Variables which can be set from the shell at invocation are defined in
BB_ENV_WHITELISTandBB_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 ------------------------------------------------------------