Remove obsolete patch
[hvlinux.git] / stage3 / pkg / mysql
index 73570b1..deeecd9 100644 (file)
@@ -2,13 +2,13 @@
 
 hvconfig_pre()
 {
-    groupadd -f mysql
-    hv_useradd -c mysql -d /dev/null -g mysql -s /bin/false mysql
+    groupadd --system -f mysql
+    hv_useradd --system -c mysql -d /dev/null -g mysql -s /bin/false mysql
 }
 
 hvconfig()
 {
-    cd ${LFS_TMP}/${PACKAGE}
+    cd ${SRC_DIR}
 
     mkdir build
     cd build
@@ -39,6 +39,8 @@ hvconfig()
 
 hvbuild()
 {
+    cd ${SRC_DIR}/build
+
     make
 
     SEGMENTS="Client Server IniFiles ManPages SharedLibraries"