0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-03 23:03:11 +00:00
Files
packages/utils/mariadb/patches/100-fix_hostname.patch
Aleksey Vasilenko 3ea5b95203 mariadb: update to 11.4.3
- Remove 2 upstreamed libfmt patches
- Manually refresh 180-relax-mysql_install-db-wrt-pam-tool.patch
- Automatically refresh remaining patches

Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2024-09-23 18:25:06 +08:00

12 lines
254 B
Diff

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