1
0

100-fix_hostname.patch 300 B

1234567891011
  1. --- a/scripts/mysql_install_db.sh
  2. +++ b/scripts/mysql_install_db.sh
  3. @@ -322,7 +322,7 @@ then
  4. fi
  5. # Try to determine the hostname
  6. -hostname=`@HOSTNAME@`
  7. +hostname=`cat /proc/sys/kernel/hostname`
  8. # Check if hostname is valid
  9. if test "$cross_bootstrap" -eq 0 -a "$in_rpm" -eq 0 -a "$force" -eq 0