Commit 4a7347d8 authored by unknown's avatar unknown

scripts/make_binary_distribution.sh : Care about the debug server in the 5.1 packages.


scripts/make_binary_distribution.sh:
  As of 5.1, any package will contain both an optimized and a debugging server,
  built with identical configuration (features / table handlers).
  This "mysqld-debug" must be contained in the package.
  Also, the server will not be stripped any more.
  Also, get rid of the old compatibility symlink "safe_mysqld" dating back to 4.0.
parent e36d4652
...@@ -131,7 +131,7 @@ BIN_FILES="extra/comp_err$BS extra/replace$BS extra/perror$BS \ ...@@ -131,7 +131,7 @@ BIN_FILES="extra/comp_err$BS extra/replace$BS extra/perror$BS \
extra/resolve_stack_dump$BS extra/mysql_waitpid$BS \ extra/resolve_stack_dump$BS extra/mysql_waitpid$BS \
storage/myisam/myisamchk$BS storage/myisam/myisampack$BS \ storage/myisam/myisamchk$BS storage/myisam/myisampack$BS \
storage/myisam/myisamlog$BS storage/myisam/myisam_ftdump$BS \ storage/myisam/myisamlog$BS storage/myisam/myisam_ftdump$BS \
sql/mysqld$BS sql/mysql_tzinfo_to_sql$BS \ sql/mysqld$BS sql/mysqld-debug$BS sql/mysql_tzinfo_to_sql$BS \
server-tools/instance-manager/mysqlmanager$BS \ server-tools/instance-manager/mysqlmanager$BS \
client/mysql$BS client/mysqlshow$BS client/mysqladmin$BS \ client/mysql$BS client/mysqlshow$BS client/mysqladmin$BS \
client/mysqlslap$BS \ client/mysqlslap$BS \
...@@ -173,8 +173,9 @@ if [ x$STRIP = x1 ] ; then ...@@ -173,8 +173,9 @@ if [ x$STRIP = x1 ] ; then
strip $BASE/bin/* strip $BASE/bin/*
fi fi
# Copy not binary files # Obsolete, starting from 5.1.6-beta
copyfileto $BASE/bin sql/mysqld.sym.gz # # Copy not binary files
# copyfileto $BASE/bin sql/mysqld.sym.gz
if [ $BASE_SYSTEM = "netware" ] ; then if [ $BASE_SYSTEM = "netware" ] ; then
$CP netware/*.pl $BASE/scripts $CP netware/*.pl $BASE/scripts
...@@ -304,11 +305,12 @@ else ...@@ -304,11 +305,12 @@ else
rm -f $BASE/README.NW rm -f $BASE/README.NW
fi fi
# Make safe_mysqld a symlink to mysqld_safe for backwards portability # Dropped with 5.1.6-beta
# To be removed in MySQL 4.1 # # Make safe_mysqld a symlink to mysqld_safe for backwards portability
if [ $BASE_SYSTEM != "netware" ] ; then # # To be removed in MySQL 4.1
(cd $BASE/bin ; ln -s mysqld_safe safe_mysqld ) # if [ $BASE_SYSTEM != "netware" ] ; then
fi # (cd $BASE/bin ; ln -s mysqld_safe safe_mysqld )
# fi
# Clean up if we did this from a bk tree # Clean up if we did this from a bk tree
if [ -d $BASE/sql-bench/SCCS ] ; then if [ -d $BASE/sql-bench/SCCS ] ; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment