Add modetest if the agl-devel feature is enabled in images with
graphical user interface (GUI), aka wayland. Modetest is part of
libdrm and libdrm-tests. It is useful for verification of the
DRM/KMS driver functionality.
Bug-AGL: SPEC-2465
Change-Id: Iaee906a97b3ee38214b04f603322298fa7adb4c5
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
(cherry picked from commit
d6f491229bc3d978503c100df704bdcfd250984b)
"
IMAGE_INSTALL_append = "${@bb.utils.contains('IMAGE_FSTYPES', 'wic.vmdk', ' open-vm-tools vboxguestdrivers', '', d)}"
+# Install libdrm-test, including modetest, to images with GUI
+IMAGE_INSTALL_append = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libdrm-tests', '', d)}"
# disable install of debug files in SDK
# initial value: SDKIMAGE_FEATURES="dev-pkgs dbg-pkgs staticdev-pkgs"