- Fix parsing of default value output of mysqld - Fix init_db call to allow correct setup of database - Remove database if init failed OBS-URL: https://build.opensuse.org/request/show/780381 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:containers/opensuse-mariadb-image?expand=0&rev=13
17 lines
441 B
Bash
17 lines
441 B
Bash
#!/bin/sh
|
|
|
|
#--------------------------------------
|
|
#test -f /.profile && . /.profile
|
|
|
|
#======================================
|
|
# Greeting...
|
|
#--------------------------------------
|
|
echo "Configure image: [$kiwi_iname]..."
|
|
|
|
# Disable binding to localhost only, doesn't make sense in a container
|
|
sed -i -e 's|^\(bind-address.*\)|#\1|g' /etc/my.cnf
|
|
# Disable log_error to log to stderr
|
|
sed -i -e 's|^\(log-error.*\)|#\1|g' /etc/my.cnf
|
|
|
|
exit 0
|