Skip to contentSkip to conversation

libgles-omap3: Package files with right permission

PATCH In review Prabindh Sundareson 2 participants 2 messages May 17, 2013 – May 29, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 8/10 libgles-omap3: Package files with right permission

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.

---
 recipes-graphics/libgles/libgles-omap3-no-x.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
recipes-graphics/libgles/libgles-omap3-no-x.inc +3 -0
index 4521d59..5bb257d 100644
@@ -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"
Signature · 1 line
1.7.1
#1 lore raw
Quoted 24 lines · Prabindh Sundareson

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.

---
 recipes-graphics/libgles/libgles-omap3-no-x.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
recipes-graphics/libgles/libgles-omap3-no-x.inc +1 -0
index 4521d59..5bb257d 100644
@@ -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

recipes-graphics/libgles/libgles-omap3-no-x.inc INSANE_SKIP_${PN}-linuxfbwsegl-es6 = "ldflags" · line 290

Quoted 5 lines
recipes-graphics/libgles/libgles-omap3-no-x.inc +2 -0
@@ -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}"

See my comment for 7/10

Quoted 10 lines
recipes-graphics/libgles/libgles-omap3-no-x.inc +0 -0
 inherit update-rc.d
 
 INITSCRIPT_NAME = "pvr-init"
Signature · 6 lines
1.7.1

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti