packages/utils/mariadb/patches/100-fix_hostname.patch
Michal Hrusecky b86b4cd1b8 mariadb: Update to version 10.6.4
Update to the latest stable version of MariaDB. Dropped few no longer
needed patches.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2021-10-30 01:03:31 -07:00

11 lines
296 B
Diff

--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -419,7 +419,7 @@ fi
# Try to determine the hostname
-hostname=`@HOSTNAME@`
+hostname=`cat /proc/sys/kernel/hostname`
# Check if hostname is valid
if test "$cross_bootstrap" -eq 0 -a "$in_rpm" -eq 0 -a "$force" -eq 0