summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libgles
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-01-26 12:00:11 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2012-01-27 09:05:02 +0100
commitd63c40e8f23a1ac36c118f1d0981e9e39edb4f02 (patch)
tree740ff29f96be18a74775e27af7f76dd98a0ebc58 /recipes-graphics/libgles
parentf840c6aafbac90ba411da964f743c7d351ac638a (diff)
downloadmeta-ti-d63c40e8f23a1ac36c118f1d0981e9e39edb4f02.tar.gz
libgles-omap3: make postinsts safe for offline-root usage (e.g. do_rootfs)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-graphics/libgles')
-rw-r--r--recipes-graphics/libgles/libgles-omap3.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
index 3f792b15..da3aeb8f 100644
--- a/recipes-graphics/libgles/libgles-omap3.inc
+++ b/recipes-graphics/libgles/libgles-omap3.inc
@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary"
3# 'TSPA.txt' might not be the best file to md5sum 3# 'TSPA.txt' might not be the best file to md5sum
4LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" 4LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"
5 5
6PR = "r23" 6PR = "r24"
7 7
8COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)" 8COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)"
9 9
@@ -340,35 +340,35 @@ INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ."
340 340
341# Append to update-rc.d postinst 341# Append to update-rc.d postinst
342pkg_postinst_${PN}_append() { 342pkg_postinst_${PN}_append() {
343rm -f ${sysconfdir}/powervr-esrev 343rm -f $D${sysconfdir}/powervr-esrev
344 344
345ln -sf /usr/lib/libXdmcp.so.6.0.0 /usr/lib/libXdmcp.so.0 345ln -sf /usr/lib/libXdmcp.so.6.0.0 /usr/lib/libXdmcp.so.0
346ln -sf /usr/lib/libXau.so.6.0.0 /usr/lib/libXau.so.0 346ln -sf /usr/lib/libXau.so.6.0.0 /usr/lib/libXau.so.0
347} 347}
348 348
349pkg_postinst_${PN}-blitwsegl() { 349pkg_postinst_${PN}-blitwsegl() {
350rm -f ${sysconfdir}/powervr-esrev 350rm -f $D${sysconfdir}/powervr-esrev
351} 351}
352 352
353pkg_postinst_${PN}-flipwsegl() { 353pkg_postinst_${PN}-flipwsegl() {
354rm -f ${sysconfdir}/powervr-esrev 354rm -f $D${sysconfdir}/powervr-esrev
355} 355}
356 356
357pkg_postinst_${PN}-frontwsegl() { 357pkg_postinst_${PN}-frontwsegl() {
358rm -f ${sysconfdir}/powervr-esrev 358rm -f $D${sysconfdir}/powervr-esrev
359} 359}
360pkg_postinst_${PN}-linuxfbwsegl() { 360pkg_postinst_${PN}-linuxfbwsegl() {
361rm -f ${sysconfdir}/powervr-esrev 361rm -f $D${sysconfdir}/powervr-esrev
362} 362}
363 363
364pkg_postinst_${PN}-x11wsegl() { 364pkg_postinst_${PN}-x11wsegl() {
365rm -f ${sysconfdir}/powervr-esrev 365rm -f $D${sysconfdir}/powervr-esrev
366 366
367echo "[default]" > $D${sysconfdir}/powervr.ini 367echo "[default]" > $D${sysconfdir}/powervr.ini
368echo "WindowSystem=libpvrPVR2D_X11WSEGL.so.1" >> $D${sysconfdir}/powervr.ini 368echo "WindowSystem=libpvrPVR2D_X11WSEGL.so.1" >> $D${sysconfdir}/powervr.ini
369} 369}
370 370
371pkg_postinst_${PN}-driwsegl() { 371pkg_postinst_${PN}-driwsegl() {
372rm -f ${sysconfdir}/powervr-esrev 372rm -f $D${sysconfdir}/powervr-esrev
373} 373}
374 374