crank images: fix build on ccmp15

The crank storyboard engine is provided in binary format. The RPM
package manager that creates the rootfs needs and explicit runtime
provider for 'libEGL.so', which in the ccmp15 is provided by the
'libegl-gcnano' runtime package.

Fix build failure:

--> Finished dependency resolution
Error:
 Problem: package packagegroup-dey-crank-1.0-r0.0.ccmp15_dvk requires crank-sbengine, but none of the providers can be installed
  - conflicting requests
  - nothing provides libEGL.so needed by crank-sbengine-7.1-r0.3.ccmp15_dvk

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2022-09-06 12:48:42 +02:00
parent 6d425d407e
commit ecb0823615
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# Copyright (C) 2022, Digi International Inc.
# Workaround for crank storyboard engine which is provided in binary format,
# and needs an explicit 'libEGL.so' runtime provides.
RPROVIDES:libegl-gcnano:prepend = "libEGL.so "

View File

@ -87,5 +87,10 @@ RDEPENDS:${PN}:append:ccimx6 = " \
mtdev \ mtdev \
tslib \ tslib \
" "
RDEPENDS:${PN}:append:ccmp15 = " \
libegl-gcnano \
libgles2-gcnano \
wayland \
"
PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGE_ARCH = "${MACHINE_ARCH}"