branch Attitude Adjustment packages
[12.09/packages.git] / libs / mysql / patches / 502-fix-hostname.patch
1 --- a/scripts/mysql_install_db.sh
2 +++ b/scripts/mysql_install_db.sh
3 @@ -317,7 +317,7 @@ then
4  fi
5  
6  # Try to determine the hostname
7 -hostname=`@HOSTNAME@`
8 +hostname=`cat /proc/sys/kernel/hostname`
9  
10  # Check if hostname is valid
11  if test "$cross_bootstrap" -eq 0 -a "$in_rpm" -eq 0 -a "$force" -eq 0