Explorar o código

fix server startup problems introduced in mysql-4.1.14 where mysqld_safe.sh uses new logic to find data directory but is being taken in by the OpenPKG filesystem layout

Thomas Lotterer %!s(int64=20) %!d(string=hai) anos
pai
achega
c9a0341443
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      mysql/mysql.spec

+ 2 - 1
mysql/mysql.spec

@@ -39,7 +39,7 @@ Class:        BASE
 Group:        Database
 License:      GPL
 Version:      %{V_opkg}
-Release:      20051020
+Release:      20051029
 
 #   package options
 %option       with_server    yes
@@ -88,6 +88,7 @@ AutoReqProv:  no
 %prep
     %setup -q
     %patch -p0
+    %{l_shtool} subst -e 's;\(DATADIR=.*/var$\);\1/mysql;' scripts/mysqld_safe.sh
 
 %build
     #   patch file search path