mysql5-native: Convert from legacy staging, disable pstaging
authorTom Rini <tom_rini@mentor.com>
Thu, 30 Sep 2010 21:54:52 +0000 (14:54 -0700)
committerTom Rini <tom_rini@mentor.com>
Thu, 30 Sep 2010 21:58:50 +0000 (14:58 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/mysql/mysql5-native_5.1.40.bb

index 6d102dd..dc1f45a 100644 (file)
@@ -1,6 +1,6 @@
 require mysql5_${PV}.inc
 inherit native
-PR ="r1"
+PR ="r2"
 
 SRC_URI = "http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \
            file://fix-abi-check-gcc45.patch"
@@ -11,19 +11,18 @@ DEPENDS = "ncurses-native"
 EXTRA_OEMAKE = ""
 EXTRA_OECONF = " --with-embedded-server "
 
-do_stage() {
-        install -m 0755 sql/gen_lex_hash ${STAGING_BINDIR}/
-}
-
 do_install() {
-       :
+        install -d ${D}${bindir}
+        install -m 0755 sql/gen_lex_hash ${D}${bindir}/
 }
 
+NATIVE_INSTALL_WORKS = "1"
 
 # Mysql tries to access the ${WORKDIR} from this build..
 do_rm_work() {
        :
 }
+PSTAGING_DISABLED = "1"
 
 SRC_URI[md5sum] = "32e7373c16271606007374396e6742ad"
 SRC_URI[sha256sum] = "2b0737b84e7b42c9e54c9658d23bfaee1189cd5955f26b10bdb862761d0f0432"