diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-03 18:02:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-04 22:57:32 +0100 |
commit | aa3cc017343cf1a54b77b27d16cd984b285b9317 (patch) | |
tree | 6d47e5218de7eb3e89db0a533f9d620b5875aabd /meta/recipes-sato | |
parent | 00faa62c4c4a02f6718b36e2fcaf3e1fad5dd0b9 (diff) | |
download | poky-aa3cc017343cf1a54b77b27d16cd984b285b9317.tar.gz |
core-image-sato-sdk-ptest: Fix free space issues causing test failures
Some tests such as strace-ptest require more than the current 500MB of free
space. Increase the amount available, staying under the 4GB limit. We have more
flexibility now since we shrank kernel-devsrc and the comments are out of date
due to that.
This should improve the strace-ptest results and the util-linux ones since
those sort after strace and also hit the space issues as strace-ptest didn't
clean up after itself when failing.
(From OE-Core rev: 5c1b2459e2d5651b02bdfdf6cb93b7f9ce32df0a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r-- | meta/recipes-sato/images/core-image-sato-sdk-ptest.bb | 7 |
1 files changed, 4 insertions, 3 deletions
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 7e3152b4a1..1027ec03be 100644 --- a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb +++ b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb | |||
@@ -4,11 +4,12 @@ DESCRIPTION += "Also includes ptest packages." | |||
4 | 4 | ||
5 | IMAGE_FEATURES += "ptest-pkgs" | 5 | IMAGE_FEATURES += "ptest-pkgs" |
6 | 6 | ||
7 | # This image is sufficiently large (~3GB) that it can't actually fit in a live | 7 | # This image is sufficiently large (~1.8GB) that we need to be careful that it fits in a live |
8 | # image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the | 8 | # image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the |
9 | # box) and explicitly add just 500MB. | 9 | # box) and explicitly add just 1500MB. |
10 | # strace-ptest in particular needs more than 500MB | ||
10 | IMAGE_OVERHEAD_FACTOR = "1.0" | 11 | IMAGE_OVERHEAD_FACTOR = "1.0" |
11 | IMAGE_ROOTFS_EXTRA_SPACE = "524288" | 12 | IMAGE_ROOTFS_EXTRA_SPACE = "1524288" |
12 | 13 | ||
13 | # ptests need more memory than standard to avoid the OOM killer | 14 | # ptests need more memory than standard to avoid the OOM killer |
14 | QB_MEM = "-m 1024" | 15 | QB_MEM = "-m 1024" |