[oe-commits] [openembedded-core] branch master-next updated: core-image-sato-sdk-ptest: reduce size

git at git.openembedded.org git at git.openembedded.org
Mon Sep 25 21:23:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

The following commit(s) were added to refs/heads/master-next by this push:
     new 98d9d89  core-image-sato-sdk-ptest: reduce size
98d9d89 is described below

commit 98d9d8958fd5a3bba849e9051bf0310c28b551c2
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Sep 25 21:21:55 2017 +0100

    core-image-sato-sdk-ptest: reduce size
    
    This image is very large and is skirting the maximum size of hddimg images (4GB,
    as they're embedded inside FAT partitions).  Making the image 10MB bigger can be
    enough to cause the build to fail.  This image is also used by QA so currently
    we need to keep it working.
    
    The default values for expanding an image to give it usable space are quite
    generous, (3GB rootfs * 1.3 gives 1GB of empty space), so change the overhead
    multiplier to 1.0x and explicitly request just 0.5GB of empty space in the
    images.
    
    This should give us a bit more breathing room until we can either remove hddimg
    from the default build, or make this image dramatically smaller.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-sato/images/core-image-sato-sdk-ptest.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb
index 93e5a4e..531571e 100644
--- a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb
+++ b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb
@@ -4,3 +4,8 @@ DESCRIPTION += "Also includes ptest packages."
 
 IMAGE_FEATURES += "ptest-pkgs"
 
+# This image is sufficiently large (~3GB) that it can't actually fit in a live
+# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
+# box) and explicitly add just 500MB.
+IMAGE_OVERHEAD_FACTOR = "1.0"
+IMAGE_ROOTFS_EXTRA_SPACE = "524288"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list