diff mbox

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

Message ID 1395349598-951-1-git-send-email-trevor.woerner@linaro.org
State Accepted
Commit 9b4ea0f2e13e52d860d59d0348a3218af151666b
Headers show

Commit Message

Trevor Woerner March 20, 2014, 9:06 p.m. UTC
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(-)

Comments

Otavio Salvador March 20, 2014, 9:09 p.m. UTC | #1
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>
diff mbox

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"