Commits

Anonymous committed 898e4f3

Rebuild mariadb

Signed-off-by: Lee Pak Hong <benreilly@vector.Linux.net>

  • Participants
  • Parent commits 6235591

Comments (0)

Files changed (2)

var/vabs/mariadb/src/doinst.sh

 config etc/my.cnf.d/server.cnf.new
 config etc/logrotate.d/mysql.new
 
+echo "Read /etc/rc.d/rc.mysqld on how to prepare and start mariadb!!"
+

var/vabs/mariadb/src/mariadb.SlackBuild

 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"1"}
+BUILDNUM=${BUILDNUM:-"2"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
   mv $PKG/etc/my.cnf.d/$i.cnf $PKG/etc/my.cnf.d/$i.cnf.new
 done
 
+# Create symlinks to /etc/init.d/ (use by vasm)
+mkdir -p $PKG/etc/init.d/
+ln -s /etc/rc.d/rc.mysqld $PKG/etc/init.d/mysql
+
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
 cp -a COPYING* INSTALL* KNOWN_BUGS* README VERSION \
 $PKG/usr/doc/$NAME-$VERSION