mirror of
https://git.yoctoproject.org/poky
synced 2026-06-05 02:20:12 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1ff7748a61
commit
3f5c70649a
@@ -11,6 +11,8 @@ IMAGE_INSTALL = "packagegroup-core-boot packagegroup-core-ssh-openssh packagegro
|
||||
|
||||
IMAGE_FEATURES += "x11-base package-management splash"
|
||||
|
||||
QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}'
|
||||
|
||||
# Ensure there's enough space to do a core-image-sato build, with rm_work enabled
|
||||
IMAGE_ROOTFS_EXTRA_SPACE = "41943040"
|
||||
|
||||
|
||||
@@ -11,3 +11,5 @@ IMAGE_INSTALL = "\
|
||||
"
|
||||
|
||||
inherit core-image
|
||||
|
||||
QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}'
|
||||
|
||||
@@ -7,3 +7,5 @@ LICENSE = "MIT"
|
||||
inherit core-image distro_features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}'
|
||||
|
||||
@@ -10,3 +10,5 @@ inherit core-image
|
||||
|
||||
TOOLCHAIN_HOST_TASK_append = " nativesdk-intltool nativesdk-glib-2.0"
|
||||
TOOLCHAIN_HOST_TASK_remove_task-populate-sdk-ext = " nativesdk-intltool nativesdk-glib-2.0"
|
||||
|
||||
QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}'
|
||||
|
||||
Reference in New Issue
Block a user