Upgrade to libwnck-3.14.0
[hvlinux.git] / stage3 / pkg / mysql
index e1d59bd..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"
@@ -77,5 +79,5 @@ hvbuild_post()
     string_add "/usr/lib/mysql" /etc/ld.so.conf
 
     # Install Hv configuration script
-    install -v -m644 ${SCRDIR}/misc/hv-config-mysql /usr/local/bin
+    install -v -m755 ${SCRDIR}/misc/hv-config-mysql /usr/local/bin
 }