Patchwork [meta-fsl-arm,2/2] gpu-viv-bin-mx6q: Use symlink in libgl-mx6 package

login
register
mail settings
Submitter Jacob Kroon
Date July 18, 2014, 9:05 p.m.
Message ID <1405717544-2513-2-git-send-email-jacob.kroon@mikrodidakt.se>
Download mbox | patch
Permalink /patch/76099/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Jacob Kroon - July 18, 2014, 9:05 p.m.
The libgl-mx6 package had a duplicated libGL.so.1.
Force it into a symlink.

This was tested by comparing the output of "ls -lR --time-style=+ image/"
before and after the change.

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 901f7d3..651a06e 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -161,6 +161,7 @@  do_install () {
     # and avoid rework in other packages, when possible
     mv ${D}${libdir}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2.0
     ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so.1.2
+    ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so.1
     ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so
     mv ${D}${libdir}/libEGL-${backend}.so ${D}${libdir}/libEGL.so.1.0
     ln -sf libEGL.so.1.0 ${D}${libdir}/libEGL.so.1