git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15cf039
)
libgles-omap3: run init scripts manually on postinst
author
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 3 Mar 2013 16:47:09 +0000
(18:47 +0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 3 Mar 2013 17:03:04 +0000
(19:03 +0200)
otherwise lib fixup won't be done until reboot
recipes/powervr-drivers/libgles-omap3.inc
patch
|
blob
|
history
diff --git
a/recipes/powervr-drivers/libgles-omap3.inc
b/recipes/powervr-drivers/libgles-omap3.inc
index
8e94f23
..
4b7705d
100644
(file)
--- a/
recipes/powervr-drivers/libgles-omap3.inc
+++ b/
recipes/powervr-drivers/libgles-omap3.inc
@@
-249,10
+249,15
@@
INITSCRIPT_NAME = "pvr-init"
INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ."
# Append to update-rc.d postinst
-pkg_postinst_${PN}_
ap
pend() {
+pkg_postinst_${PN}_
pre
pend() {
rm -f /etc/powervr-esrev
rm -f /etc/powervr-kmodver
ln -sf /usr/lib/libXdmcp.so.6.0.0 /usr/lib/libXdmcp.so.0
ln -sf /usr/lib/libXau.so.6.0.0 /usr/lib/libXau.so.0
+
+# as postinst_prepend doesn't seem to put this before update-rc.d,
+# we need this lame hack to apply ES lib fixup
+/etc/init.d/pvr-init stop
+/etc/init.d/pvr-init start
}