[meta-ti] [PATCH 08/10] libgles-omap3: Package files with right permission
Prabindh Sundareson
prabu at ti.com
Fri May 17 09:57:57 PDT 2013
This patch adds the .so library files into the package, with correct
permissions for startup scripts.
This is part of a clean up of the Graphics recipe starting from
4.09.00.01 version of the Graphics SDK.
Signed-off-by: Prabindh Sundareson <prabu at ti.com>
---
recipes-graphics/libgles/libgles-omap3-no-x.inc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/recipes-graphics/libgles/libgles-omap3-no-x.inc b/recipes-graphics/libgles/libgles-omap3-no-x.inc
index 4521d59..5bb257d 100644
--- a/recipes-graphics/libgles/libgles-omap3-no-x.inc
+++ b/recipes-graphics/libgles/libgles-omap3-no-x.inc
@@ -139,6 +139,7 @@ do_install () {
install -d ${D}${sysconfdir}/init.d/
cp -pP ${WORKDIR}/rc.pvr ${D}${sysconfdir}/init.d/pvr-init
+ chmod +x ${D}${sysconfdir}/init.d/pvr-init
install -d ${D}${sysconfdir}
echo "[default]" > ${D}${sysconfdir}/powervr.ini
@@ -285,6 +286,8 @@ INSANE_SKIP_${PN}-linuxfbwsegl-es6 = "ldflags"
INSANE_SKIP_${PN}-linuxfbwsegl-es8 = "ldflags"
INSANE_SKIP_${PN}-tests = "ldflags"
+FILES_${PN} += "${libdir}/*.so "
+FILES_${PN}-dev = "${includedir}"
inherit update-rc.d
INITSCRIPT_NAME = "pvr-init"
--
1.7.1
More information about the meta-ti
mailing list