Bug #25486: mysqld_multi.server.sh missing from builds
Make mysqld_multi.server executable, and allow it to be installed via chkconfig on LSB-compliant systems. scripts/make_binary_distribution.sh: Adjust permissions on some support-files/* scripts: make mysqld_multi.server executable, and mysql-VERSION.spec not executable. support-files/mysqld_multi.server.sh: Add LSB comments for chkconfig to simplify installation for sysadmins.
This commit is contained in:
parent
4d09306dd1
commit
aae2c0d21c
@ -327,8 +327,8 @@ if [ $BASE_SYSTEM != "netware" ] ; then
|
|||||||
< support-files/mysql.server.sh > $BASE/support-files/mysql.server
|
< support-files/mysql.server.sh > $BASE/support-files/mysql.server
|
||||||
$BASE/bin/replace /my/gnu/bin/hostname /bin/hostname -- $BASE/bin/mysqld_safe
|
$BASE/bin/replace /my/gnu/bin/hostname /bin/hostname -- $BASE/bin/mysqld_safe
|
||||||
mv $BASE/support-files/binary-configure $BASE/configure
|
mv $BASE/support-files/binary-configure $BASE/configure
|
||||||
chmod a+x $BASE/bin/* $BASE/scripts/* $BASE/support-files/mysql-* \
|
chmod a+x $BASE/bin/* $BASE/scripts/* $BASE/support-files/mysql-log-rotate \
|
||||||
$BASE/support-files/mysql.server $BASE/configure
|
$BASE/support-files/*.server $BASE/configure
|
||||||
$CP -r sql-bench/* $BASE/sql-bench
|
$CP -r sql-bench/* $BASE/sql-bench
|
||||||
rm -f $BASE/sql-bench/*.sh $BASE/sql-bench/Makefile* $BASE/lib/*.la
|
rm -f $BASE/sql-bench/*.sh $BASE/sql-bench/Makefile* $BASE/lib/*.la
|
||||||
rm -f $BASE/bin/*.sql
|
rm -f $BASE/bin/*.sql
|
||||||
|
@ -7,6 +7,10 @@
|
|||||||
#
|
#
|
||||||
# This script can be used as /etc/init.d/mysql.server
|
# This script can be used as /etc/init.d/mysql.server
|
||||||
#
|
#
|
||||||
|
# Comments to support chkconfig on RedHat Linux
|
||||||
|
# chkconfig: 2345 64 36
|
||||||
|
# description: A very fast and reliable SQL database engine.
|
||||||
|
#
|
||||||
# Version 1.0
|
# Version 1.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user