]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/mysql
Firewallhitgraphs gefixt.
[people/pmueller/ipfire-2.x.git] / lfs / mysql
index d119e43ae3f26864ae3b85913313b772613d44c2..2700c6cfebf3f516574b6250c4bf587cfb05988a 100644 (file)
--- a/lfs/mysql
+++ b/lfs/mysql
@@ -88,15 +88,18 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                            --with-unix-socket-path=/var/run/mysql/mysql.sock \
                            --without-debug \
                            --without-bench \
+                           --without-readline \
                            --with-berkeley-db \
                            --with-extra-charsets=all
-       cd $(DIR_APP) && make testdir=/tmp/mysql
+       cd $(DIR_APP) && make testdir=/tmp/mysql $(MAKETUNING)
        cd $(DIR_APP) && make testdir=/tmp/mysql install
        rm -rf /tmp/mysql
        cd /usr/lib && ln -v -sf mysql/libmysqlclient{,_r}.so* .
        install -v -m644 /usr/share/mysql/my-medium.cnf /etc/my.cnf
+       mkdir -p /srv/mysql
        mysql_install_db --user=mysql --force
        chgrp -v mysql /srv/mysql{,/test,/mysql}
+       chown mysql.mysql /srv/mysql/
        install -v -m755 -o mysql -g mysql -d /var/run/mysql
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)