[oe] [PATCH] gconf-native_2.6.1.bb: Converted to new style staging
Fahad Usman
fahad_usman at mentor.com
Tue Sep 7 10:59:44 UTC 2010
* 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>
---
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"
--
1.6.3.3
More information about the Openembedded-devel
mailing list