diff options
author | Diego Rondini <diego.ml@zoho.com> | 2016-02-19 10:14:14 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-02-25 17:45:50 +0100 |
commit | d80a1a9a9a6d27edd55cd0f4aa2d3ff81238bd0e (patch) | |
tree | bbb125617477fbc800dde58503a07a45d84759c8 /meta-webserver/recipes-webadmin/webmin | |
parent | 361db4cb7b6ded009213adfd3c063b558edf688f (diff) | |
download | meta-openembedded-d80a1a9a9a6d27edd55cd0f4aa2d3ff81238bd0e.tar.gz |
webmin: adjust mysql module default config
Default config of the mysql Webmin module uses paths of a manually installed
MySQL. This commit adjusts paths to the ones used by MariaDB in OE.
Signed-off-by: Diego Rondini <diego.ml@zoho.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-webadmin/webmin')
-rw-r--r-- | meta-webserver/recipes-webadmin/webmin/files/mysql-config-fix.patch | 50 | ||||
-rw-r--r-- | meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb | 1 |
2 files changed, 51 insertions, 0 deletions
diff --git a/meta-webserver/recipes-webadmin/webmin/files/mysql-config-fix.patch b/meta-webserver/recipes-webadmin/webmin/files/mysql-config-fix.patch new file mode 100644 index 000000000..2cbc62707 --- /dev/null +++ b/meta-webserver/recipes-webadmin/webmin/files/mysql-config-fix.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | From 719206df606acd7a623e8d75da293c25489b7884 Mon Sep 17 00:00:00 2001 | ||
2 | From: Diego Rondini <diego.ml@zoho.com> | ||
3 | Date: Thu, 18 Feb 2016 15:44:06 +0100 | ||
4 | Subject: [PATCH] Adjust Mysql config defaults | ||
5 | |||
6 | Upstream-status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Diego Rondini <diego.ml@zoho.com> | ||
9 | --- | ||
10 | mysql/config | 18 +++++++++--------- | ||
11 | 1 file changed, 9 insertions(+), 9 deletions(-) | ||
12 | |||
13 | diff --git a/mysql/config b/mysql/config | ||
14 | index e5b6fb3..77bfe69 100644 | ||
15 | --- a/mysql/config | ||
16 | +++ b/mysql/config | ||
17 | @@ -1,13 +1,13 @@ | ||
18 | -start_cmd=cd /usr/local/mysql ; (./bin/safe_mysqld || ./bin/mysqld_safe) & | ||
19 | +start_cmd=/usr/bin/mysqld_safe | ||
20 | perpage=25 | ||
21 | -mysql=/usr/local/mysql/bin/mysql | ||
22 | -mysqldump=/usr/local/mysql/bin/mysqldump | ||
23 | -mysqlimport=/usr/local/mysql/bin/mysqlimport | ||
24 | -pass=foo | ||
25 | -mysqlshow=/usr/local/mysql/bin/mysqlshow | ||
26 | +mysql=/usr/bin/mysql | ||
27 | +mysqldump=/usr/bin/mysqldump | ||
28 | +mysqlimport=/usr/bin/mysqlimport | ||
29 | +pass= | ||
30 | +mysqlshow=/usr/bin/mysqlshow | ||
31 | login=root | ||
32 | -mysql_libs=/usr/local/mysql/lib | ||
33 | -mysqladmin=/usr/local/mysql/bin/mysqladmin | ||
34 | +mysql_libs=/usr/lib | ||
35 | +mysqladmin=/usr/bin/mysqladmin | ||
36 | style=0 | ||
37 | add_mode=1 | ||
38 | nodbi=0 | ||
39 | @@ -15,7 +15,7 @@ access=*: * | ||
40 | blob_mode=0 | ||
41 | date_subs=0 | ||
42 | passwd_mode=0 | ||
43 | -mysql_data=/usr/local/mysql/var | ||
44 | +mysql_data=/var/lib/mysql | ||
45 | max_dbs=50 | ||
46 | my_cnf=/etc/my.cnf | ||
47 | max_text=1000 | ||
48 | -- | ||
49 | 2.5.0 | ||
50 | |||
diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb b/meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb index 46478f007..34052a147 100644 --- a/meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb +++ b/meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb | |||
@@ -17,6 +17,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \ | |||
17 | file://net-lib.pl.patch \ | 17 | file://net-lib.pl.patch \ |
18 | file://media-tomb.patch \ | 18 | file://media-tomb.patch \ |
19 | file://remove-python2.3.patch \ | 19 | file://remove-python2.3.patch \ |
20 | file://mysql-config-fix.patch \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRC_URI[md5sum] = "4007c390323d840f26c2e0f43c5c81a3" | 23 | SRC_URI[md5sum] = "4007c390323d840f26c2e0f43c5c81a3" |