All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Lock <josh@linux.intel.com>
To: poky@yoctoproject.org
Subject: Re: Setting image size
Date: Wed, 11 May 2011 17:01:30 -0700	[thread overview]
Message-ID: <1305158495.2133.5.camel@scimitar> (raw)
In-Reply-To: <4DCB1F2F.1090701@mlbassoc.com>

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



  reply	other threads:[~2011-05-12  0:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11 23:43 Setting image size Gary Thomas
2011-05-12  0:01 ` Joshua Lock [this message]
2011-05-12  0:26   ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1305158495.2133.5.camel@scimitar \
    --to=josh@linux.intel.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.