core-image-sato.bb: increase free space size
cover core-image-sato.bb: increase free space size
From: Chen Qi <[email protected]>
The following changes since commit 3c5f4d54d01887a117bf659fc9af6b2b892c2b08:
separatebuilddir.inc: mxsldr should never have been added to this list, remove (2013-03-24 14:03:19 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/sato-size
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/sato-size
Chen Qi (1):
core-image-sato.bb: increase free space size
meta/recipes-sato/images/core-image-sato.bb | 3 +++ 1 file changed, 3 insertions(+)
Signature · 1 line
1.7.9.5
PATCH 1/1 core-image-sato.bb: increase free space size
From: Chen Qi <[email protected]>
Sato images, by default, have about 100M free space. This is not enough and it blocks automatic testing.
This patch fixes this problem by overriding the IMAGE_OVERHEAD_FACTOR in the sato image recipe.
[YOCTO #4109]
--- meta/recipes-sato/images/core-image-sato.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-sato/images/core-image-sato.bb +3 -0
@@ -9,3 +9,6 @@ LICENSE = "MIT" inherit core-image IMAGE_INSTALL += "packagegroup-core-x11-sato-games" + +# Override IMAGE_OVERHEAD_FACTOR to increase the free space size on sato images. +IMAGE_OVERHEAD_FACTOR = "2.0"
Signature · 1 line
1.7.9.5
meta/recipes-sato/images/core-image-sato.bb LICENSE = "MIT" · line 14
Quoted 3 lines · On Apr 1, 2013, at 7:30 PM, [email protected] wrote:
meta/recipes-sato/images/core-image-sato.bb +3
-0+ +# Override IMAGE_OVERHEAD_FACTOR to increase the free space size on sato images. +IMAGE_OVERHEAD_FACTOR = "2.0"
what is the size of image before and after ?
Quoted 7 lines · Khem Raj
meta/recipes-sato/images/core-image-sato.bb LICENSE = "MIT" · line 14
Quoted 3 lines · On Apr 1, 2013, at 7:30 PM, [email protected] wrote:
meta/recipes-sato/images/core-image-sato.bb +3
-0+ +# Override IMAGE_OVERHEAD_FACTOR to increase the free space size on sato images. +IMAGE_OVERHEAD_FACTOR = "2.0"what is the size of image before and after ?
roughly 100M -> 300M.
smart automatic testing will use over 90M. see https://bugzilla.yoctoproject.org/show_bug.cgi?id=4109 for more details.
IMAGE_OVERHEAD_FACTOR defaults to 1.3.
Thanks,
Chen Qi
Quoted 21 lines · On 2013-04-01 20:30, [email protected] wrote:
From: Chen Qi <[email protected]>
Sato images, by default, have about 100M free space. This is not enough and it blocks automatic testing.
This patch fixes this problem by overriding the
IMAGE_OVERHEAD_FACTORin the sato image recipe.[YOCTO #4109]
Signed-off-by Chen Qi <[email protected]>--- meta/recipes-sato/images/core-image-sato.bb | 3 +++ 1 file changed, 3 insertions(+)meta/recipes-sato/images/core-image-sato.bb +0
-0
meta/recipes-sato/images/core-image-sato.bb LICENSE = "MIT" · line 14
Quoted 6 lines
meta/recipes-sato/images/core-image-sato.bb +3
-0@@ -9,3 +9,6 @@ LICENSE = "MIT" inherit core-image IMAGE_INSTALL += "packagegroup-core-x11-sato-games" + +# Override IMAGE_OVERHEAD_FACTOR to increase the free space size on sato images. +IMAGE_OVERHEAD_FACTOR = "2.0"
You should make this overridable by the user:
IMAGE_OVERHEAD_FACTOR ?= "2.0"
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 23 lines · Gary Thomas
Quoted 22 lines · On 2013-04-01 20:30, [email protected] wrote:
From: Chen Qi <[email protected]>
Sato images, by default, have about 100M free space. This is not enough and it blocks automatic testing.
This patch fixes this problem by overriding the
IMAGE_OVERHEAD_FACTORin the sato image recipe.[YOCTO #4109]
Signed-off-by Chen Qi <[email protected]>--- meta/recipes-sato/images/core-image-sato.bb | 3 +++ 1 file changed, 3 insertions(+)meta/recipes-sato/images/core-image-sato.bb +0
-0@@ -9,3 +9,6 @@ LICENSE = "MIT" inherit core-image
Quoted 10 lines
Quoted 6 lines
meta/recipes-sato/images/core-image-sato.bb +2
-0IMAGE_INSTALL += "packagegroup-core-x11-sato-games" + +# Override IMAGE_OVERHEAD_FACTOR to increase the free space size onsato images.
+IMAGE_OVERHEAD_FACTOR = "2.0"You should make this overridable by the user:
IMAGE_OVERHEAD_FACTOR?= "2.0"
Yes. You're right.
And we can use "??=" in bitbake.conf.
A new patch set has been sent out.
Thanks,
Chen Qi
Quoted 7 lines · On 2 April 2013 03:30, <[email protected]> wrote:
From: Chen Qi <[email protected]>
Sato images, by default, have about 100M free space. This is not enough and it blocks automatic testing.
This patch fixes this problem by overriding the
IMAGE_OVERHEAD_FACTORin the sato image recipe.
If a particular build needs more disk space, you can also use IMAGE_ROOTFS_EXTRA_SPACE in local.conf, i.e.:
IMAGE_ROOTFS_EXTRA_SPACE = "524288"
(that's add 500MB)
Ross
Quoted 9 lines · Ross
Quoted 7 lines · On 2 April 2013 03:30, <[email protected]> wrote:
From: Chen Qi <[email protected]>
Sato images, by default, have about 100M free space. This is not enough and it blocks automatic testing.
This patch fixes this problem by overriding the
IMAGE_OVERHEAD_FACTORin the sato image recipe.
Quoted 6 lines
If a particular build needs more disk space, you can also use
IMAGE_ROOTFS_EXTRA_SPACEin local.conf, i.e.:
IMAGE_ROOTFS_EXTRA_SPACE= "524288"(that's add 500MB)
I think Chen wants a more permanent solution so automatic testing can work out of box. Maybe a fixed extra size would be better for this case but needs to be done in the image in either case.
--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br