[oe-commits] Fahad Usman : gconf-native_2.6.1.bb: Converted to new style staging
git version control
git at git.openembedded.org
Thu Sep 30 21:04:08 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 1cdb3733cf2ad969a045686e7af5694bb078e653
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1cdb3733cf2ad969a045686e7af5694bb078e653
Author: Fahad Usman <fahad_usman at mentor.com>
Date: Tue Sep 7 00:59:44 2010 +0000
gconf-native_2.6.1.bb: Converted to new style staging
* Converted do_stage to do_install.
* Added NATIVE_INSTALL_WORKS = "1"
* Added PR = "r1"
Note: Not merging it into the non-native recipe as this is a dummy recipe and it does not need all the regular stuff.
Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
recipes/gnome/gconf-native_2.6.1.bb | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/recipes/gnome/gconf-native_2.6.1.bb b/recipes/gnome/gconf-native_2.6.1.bb
index 79163a4..f3f5fd8 100644
--- a/recipes/gnome/gconf-native_2.6.1.bb
+++ b/recipes/gnome/gconf-native_2.6.1.bb
@@ -1,10 +1,14 @@
NOTE = "This is just a dummy package to get packages stop complaining about gconftool-2 \
which they are not using anyway... :D"
+PR = "r1"
+
inherit native
-do_stage() {
- echo "#!/bin/sh" >${STAGING_BINDIR}/gconftool-2
- chmod a+rx ${STAGING_BINDIR}/gconftool-2
+do_install() {
+ install -d ${D}${bindir}
+ echo "#!/bin/sh" >${D}${bindir}/gconftool-2
+ chmod a+rx ${D}${bindir}/gconftool-2
}
+NATIVE_INSTALL_WORKS = "1"
More information about the Openembedded-commits
mailing list