[oe-commits] org.oe.dev mysql: workaround two problems:
koen commit
openembedded-commits at lists.openembedded.org
Tue Dec 11 13:37:13 UTC 2007
mysql: workaround two problems:
* mysql dislikes parallel compilation, so set PARALLEL_MAKE = ""
* the mysql-native helper binaries reference ${WORKDIR}, so implement a custom, empty do_rm_work() method
This will need further thought when packaged-staging(2) is used
Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: d83056ff7d31b140707310bd418825d3092791be
ViewMTN: http://monotone.openembedded.org/revision/info/d83056ff7d31b140707310bd418825d3092791be
Files:
1
packages/mysql/mysql-native_4.1.18.bb
packages/mysql/mysql_4.1.18.bb
Diffs:
#
# mt diff -re033232db3b41547193f4f62c8dc41bc4fb6021d -rd83056ff7d31b140707310bd418825d3092791be
#
#
#
# patch "packages/mysql/mysql-native_4.1.18.bb"
# from [11fb90393df3a09f2561c4afe2b0c17269a03446]
# to [4b9e06b8fb17a385747765752c9a6af3ab9065d0]
#
# patch "packages/mysql/mysql_4.1.18.bb"
# from [57c3ef095e0f2e42eff3295189e714607ef06764]
# to [ec2784c91fd5bc105a8057f5042fe33961509c8f]
#
============================================================
--- packages/mysql/mysql-native_4.1.18.bb 11fb90393df3a09f2561c4afe2b0c17269a03446
+++ packages/mysql/mysql-native_4.1.18.bb 4b9e06b8fb17a385747765752c9a6af3ab9065d0
@@ -1,7 +1,7 @@ inherit native
SECTION = "console/network"
require mysql_${PV}.bb
inherit native
-PR="r3"
+PR="r4"
RDEPENDS_${PN} = ""
@@ -17,3 +17,9 @@ do_install() {
do_install() {
:
}
+
+
+# Mysql tries to access the ${WORKDIR} from this build..
+do_rm_work() {
+ :
+}
============================================================
--- packages/mysql/mysql_4.1.18.bb 57c3ef095e0f2e42eff3295189e714607ef06764
+++ packages/mysql/mysql_4.1.18.bb ec2784c91fd5bc105a8057f5042fe33961509c8f
@@ -23,6 +23,7 @@ INITSCRIPT_PARAMS = "start 45 S . stop 4
INITSCRIPT_NAME = "mysqld"
INITSCRIPT_PARAMS = "start 45 S . stop 45 0 6 1 ."
+PARALLEL_MAKE = " "
EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
EXTRA_OECONF = " --with-embedded-server --prefix=/usr --sysconfdir=/etc/mysql --localstatedir=/var/mysql --datadir=/var/mysql --disable-dependency-tracking --without-raid --without-debug --with-low-memory --without-query-cache --without-man --without-docs --without-innodb "
More information about the Openembedded-commits
mailing list