소스 검색

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