Patchwork [1/1] core-image-minimal: allow user to set size

login
register
mail settings
Submitter Trevor Woerner
Date March 20, 2014, 9:06 p.m.
Message ID <1395349598-951-1-git-send-email-trevor.woerner@linaro.org>
Download mbox | patch
Permalink /patch/68987/
State New
Headers show

Comments

Trevor Woerner - March 20, 2014, 9:06 p.m.
Allow the user, in their local configuration, to override the size of the
final image. This is useful when creating an image for (for example) an SD
card and the user wants the image to fill up the card as much as possible.

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
---
 meta/recipes-core/images/core-image-minimal.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Otavio Salvador - March 20, 2014, 9:09 p.m.
On Thu, Mar 20, 2014 at 6:06 PM, Trevor Woerner
<trevor.woerner@linaro.org> wrote:
> Allow the user, in their local configuration, to override the size of the
> final image. This is useful when creating an image for (for example) an SD
> card and the user wants the image to fill up the card as much as possible.
>
> Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

Patch

diff --git a/meta/recipes-core/images/core-image-minimal.bb b/meta/recipes-core/images/core-image-minimal.bb
index b82ca46..9716274 100644
--- a/meta/recipes-core/images/core-image-minimal.bb
+++ b/meta/recipes-core/images/core-image-minimal.bb
@@ -8,5 +8,5 @@  LICENSE = "MIT"
 
 inherit core-image
 
-IMAGE_ROOTFS_SIZE = "8192"
+IMAGE_ROOTFS_SIZE ?= "8192"