100-fix_hostname.patch (300B)
1 --- a/scripts/mysql_install_db.sh 2 +++ b/scripts/mysql_install_db.sh 3 @@ -322,7 +322,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