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

Submitted by Trevor Woerner on March 20, 2014, 9:06 p.m.

Details

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.
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(-)

Patch hide | download patch | download mbox

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"
 

Comments

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>