diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-08-20 17:32:10 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-28 11:31:21 +0100 |
commit | 3f5c70649a9aaa13ef755ea57576d2bd6d9d2e60 (patch) | |
tree | 18b045f3a600ce1a647bbb1de359e9fe29c8c45c /meta/recipes-core/images | |
parent | 1ff7748a615f6e71aa8cad5e6871e768166e2325 (diff) | |
download | poky-3f5c70649a9aaa13ef755ea57576d2bd6d9d2e60.tar.gz |
images: use 512M of RAM in qemu if 'opengl" is in DISTRO_FEATURES
256M was found to be no longer sufficient, as the X server fails to
start with the modesetting driver and 3D enabled.
Only images that actually include X11 are adjusted.
(From OE-Core rev: 9dd0812acc73287287b48d28e0935baf7f545b58)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/images')
-rw-r--r-- | meta/recipes-core/images/build-appliance-image_15.0.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index e9cac98c57..3f1b1c7a5e 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb | |||
@@ -11,6 +11,8 @@ IMAGE_INSTALL = "packagegroup-core-boot packagegroup-core-ssh-openssh packagegro | |||
11 | 11 | ||
12 | IMAGE_FEATURES += "x11-base package-management splash" | 12 | IMAGE_FEATURES += "x11-base package-management splash" |
13 | 13 | ||
14 | QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}' | ||
15 | |||
14 | # Ensure there's enough space to do a core-image-sato build, with rm_work enabled | 16 | # Ensure there's enough space to do a core-image-sato build, with rm_work enabled |
15 | IMAGE_ROOTFS_EXTRA_SPACE = "41943040" | 17 | IMAGE_ROOTFS_EXTRA_SPACE = "41943040" |
16 | 18 | ||