mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02: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,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)}'
|
||||
|
||||
Reference in New Issue
Block a user