]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: skip QA check for libgl-imx package
authorAndrey Zhizhikin <andrey.z@gmail.com>
Thu, 21 Oct 2021 08:41:10 +0000 (08:41 +0000)
committerAndrey Zhizhikin <andrey.z@gmail.com>
Fri, 22 Oct 2021 19:15:38 +0000 (19:15 +0000)
libgl-imx package provides libGL, which has runtime dependencies on X11
libraries. In case of Wayland-only builds, this triggers the QA error on
missing RDEPENDS, since they are not provided by any package.

Skip this QA check for libgl-imx package, as it is not distributed for
Wayland-only builds, and has dependencies properly resolved when X11
builds are used.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc

index 7afa0950a5dbee5645d564ae746f2e1a08ffdc65..26fe79b6b1b18838c494f41503be7f8e15330387 100644 (file)
@@ -300,8 +300,12 @@ FILES:libopenvx-imx = " \
 FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}"
 RDEPENDS:libopenvx-imx = "libnn-imx"
 
+# libGL is only targeting X11 backend, and in case if Wayland-only is used -
+# package QA complains on missing RDEPENDS, which are only available for X11.
+# Skip "file-rdeps" QA for this package.
 FILES:libgl-imx = "${libdir}/libGL${REALSOLIBS}"
 FILES:libgl-imx-dev = "${libdir}/libGL${SOLIBSDEV} ${includedir}/GL"
+INSANE_SKIP:libgl-imx += "file-rdeps"
 
 # libEGL needs to open libGLESv1.so
 INSANE_SKIP:libgles1-imx += "dev-so"