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

Trevor Woerner trevor.woerner at linaro.org
Thu Mar 20 21:06:38 UTC 2014


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 at linaro.org>
---
 meta/recipes-core/images/core-image-minimal.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
 
-- 
1.9.0




More information about the Openembedded-core mailing list