From: Victor Martinez Date: Sun, 3 Jan 2010 08:30:59 +0000 (+0100) Subject: mysql: fixed mysql-files dir creation X-Git-Url: http://gitweb/?a=commitdiff_plain;h=20b52e2b1df7da52581218cb0618f12592c758cd;p=ports%2Fopt-arm.git mysql: fixed mysql-files dir creation --- diff --git a/mysql/.footprint b/mysql/.footprint index 7e51fd5..1da9f5b 100644 --- a/mysql/.footprint +++ b/mysql/.footprint @@ -254,6 +254,7 @@ drwxr-xr-x root/root usr/share/mysql/english/ -rwxr-xr-x root/root usr/share/mysql/mysqld_multi.server drwxr-xr-x root/root var/ drwxr-xr-x root/root var/lib/ +drwx------ mysql/mysql var/lib/mysql-files/ drwx------ mysql/mysql var/lib/mysql/ drwxr-xr-x root/root var/log/ drwx------ mysql/mysql var/log/mysql/ diff --git a/mysql/Pkgfile b/mysql/Pkgfile index b101b2a..aee2fce 100644 --- a/mysql/Pkgfile +++ b/mysql/Pkgfile @@ -35,6 +35,7 @@ build () { find $PKG/usr/share/mysql/* -type d ! -name english ! -name charsets | xargs rm -rf {} \; install -d -m 700 -o mysql -g mysql $PKG/var/{lib,log,run}/mysql + install -d -m 700 -o mysql -g mysql $PKG/var/lib/mysql-files install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld install -m 600 $SRC/my.cnf $PKG/etc }