diff options
Diffstat (limited to 'network/lizardfs/lizardfs.SlackBuild')
-rw-r--r-- | network/lizardfs/lizardfs.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/network/lizardfs/lizardfs.SlackBuild b/network/lizardfs/lizardfs.SlackBuild index a8b291afe2..2360f179ea 100644 --- a/network/lizardfs/lizardfs.SlackBuild +++ b/network/lizardfs/lizardfs.SlackBuild @@ -52,7 +52,7 @@ if ! getent group mfs 2>&1 > /dev/null; then exit 1 elif ! getent passwd mfs 2>&1 > /dev/null; then echo " You must have a mfs user to run this script." - echo " # useradd -u $LIZARDFS_UID -g $LIZARDFS_GID -d /var/lib/pgsql mfs" + echo " # useradd -u $LIZARDFS_UID -g $LIZARDFS_GID -d /var/lib/mfs mfs" exit 1 fi @@ -77,6 +77,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +(cd $PRGNAM-$VERSION; patch -p0 < $CWD/iostat.h.patch) cd $PRGNAM-$VERSION for z in $CWD/*.zip; do unzip $z -d external/ @@ -102,6 +103,8 @@ cd build -DENABLE_CLIENT_LIB=YES \ -DENABLE_NFS_GANESHA=YES \ -DCMAKE_BUILD_TYPE=Release .. +# For the brave +# make -j 24 || make -j 12 || make -j 6 || make -j 3 || make -j 2 || make make make install DESTDIR=$PKG cd .. @@ -120,6 +123,7 @@ for l in '' global; do mv $PKG/etc/mfs/${l}iolimits.cfg.dist $PKG/etc/mfs/${l}iolimits.cfg.new done +chown -R root:root . mkdir -p $PKG/var/run/mfs $PKG/var/lib/mfs chown mfs:mfs $PKG/var/run/mfs $PKG/var/lib/mfs |