File mariadb-5.5.28-install_db-quiet.patch of Package mariadb
39
1
PATCH-P0-FEATURE-SUSE: Use better comments in install_db
2
3
We ship init script so we don't need to warn user to install one and we also
4
have a testsuite in separate packege.
5
6
Maintainer: Michal Hrusecky <Michal.Hrusecky@opensuse.org>
7
8
Index: scripts/mysql_install_db.sh
9
===================================================================
10
--- scripts/mysql_install_db.sh.orig
11
+++ scripts/mysql_install_db.sh
12
13
# the screen.
14
if test "$cross_bootstrap" -eq 0 && test -z "$srcdir"
15
then
16
- s_echo
17
- s_echo "To start mysqld at boot time you have to copy"
18
- s_echo "support-files/mysql.server to the right place for your system"
19
+# Output disabled, since the SUSE RPM comes with an init script installed
20
+# s_echo
21
+# s_echo "To start mysqld at boot time you have to copy"
22
+# s_echo "support-files/mysql.server to the right place for your system"
23
24
echo
25
echo "PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !"
26
27
then
28
echo
29
echo "You can start the MariaDB daemon with:"
30
- echo "cd '$basedir' ; $bindir/mysqld_safe --datadir='$ldata'"
31
+ echo "rcmysql start"
32
echo
33
- echo "You can test the MariaDB daemon with mysql-test-run.pl"
34
- echo "cd '$basedir/mysql-test' ; perl mysql-test-run.pl"
35
+ echo "You can test the MariaDB daemon with mariadb-test package"
36
fi
37
38
echo
39