agl-devel.inc: Add modetest 74/22574/2
authorLeon Anavi <leon.anavi@konsulko.com>
Tue, 1 Oct 2019 07:52:55 +0000 (10:52 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 6 Oct 2019 20:51:47 +0000 (20:51 +0000)
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)

meta-agl-profile-core/conf/include/agl-devel.inc

index 09d855c..2157f6f 100644 (file)
@@ -5,6 +5,8 @@ IMAGE_INSTALL_append = " \
 "
 
 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"