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 | |
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>
4 files changed, 8 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 | ||
diff --git a/meta/recipes-graphics/images/core-image-clutter.bb b/meta/recipes-graphics/images/core-image-clutter.bb index b0f25cf1b1..a594461022 100644 --- a/meta/recipes-graphics/images/core-image-clutter.bb +++ b/meta/recipes-graphics/images/core-image-clutter.bb | |||
@@ -11,3 +11,5 @@ IMAGE_INSTALL = "\ | |||
11 | " | 11 | " |
12 | 12 | ||
13 | inherit core-image | 13 | inherit core-image |
14 | |||
15 | QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}' | ||
diff --git a/meta/recipes-graphics/images/core-image-x11.bb b/meta/recipes-graphics/images/core-image-x11.bb index 8455bb8cae..cd5374949d 100644 --- a/meta/recipes-graphics/images/core-image-x11.bb +++ b/meta/recipes-graphics/images/core-image-x11.bb | |||
@@ -7,3 +7,5 @@ LICENSE = "MIT" | |||
7 | inherit core-image distro_features_check | 7 | inherit core-image distro_features_check |
8 | 8 | ||
9 | REQUIRED_DISTRO_FEATURES = "x11" | 9 | REQUIRED_DISTRO_FEATURES = "x11" |
10 | |||
11 | QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}' | ||
diff --git a/meta/recipes-sato/images/core-image-sato.bb b/meta/recipes-sato/images/core-image-sato.bb index b897950285..878e0eaa8d 100644 --- a/meta/recipes-sato/images/core-image-sato.bb +++ b/meta/recipes-sato/images/core-image-sato.bb | |||
@@ -10,3 +10,5 @@ inherit core-image | |||
10 | 10 | ||
11 | TOOLCHAIN_HOST_TASK_append = " nativesdk-intltool nativesdk-glib-2.0" | 11 | TOOLCHAIN_HOST_TASK_append = " nativesdk-intltool nativesdk-glib-2.0" |
12 | TOOLCHAIN_HOST_TASK_remove_task-populate-sdk-ext = " nativesdk-intltool nativesdk-glib-2.0" | 12 | TOOLCHAIN_HOST_TASK_remove_task-populate-sdk-ext = " nativesdk-intltool nativesdk-glib-2.0" |
13 | |||
14 | QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}' | ||