X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fpkg%2Fmysql;h=deeecd9f0def8650e062b8cd338558b6d1b87adf;hb=1b6490195147ee6d1098cf255240d60f60c40108;hp=e1d59bd7e934006f615eb5873a4c6c26c52c2d1b;hpb=074b7f24a66f0af8d7da08da025b31b00db8ff20;p=hvlinux.git diff --git a/stage3/pkg/mysql b/stage3/pkg/mysql index e1d59bd..deeecd9 100644 --- a/stage3/pkg/mysql +++ b/stage3/pkg/mysql @@ -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 }