ASR_BASE

Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/external/subpack/utils/mariadb/patches/100-fix_hostname.patch b/external/subpack/utils/mariadb/patches/100-fix_hostname.patch
new file mode 100644
index 0000000..408651d
--- /dev/null
+++ b/external/subpack/utils/mariadb/patches/100-fix_hostname.patch
@@ -0,0 +1,11 @@
+--- a/scripts/mysql_install_db.sh
++++ b/scripts/mysql_install_db.sh
+@@ -424,7 +424,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