ソースを参照

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 20 年 前
コミット
c9a0341443
1 ファイル変更2 行追加1 行削除
  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