network/beegfs: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
GUAN Xin 2023-09-29 23:02:13 +07:00 committed by Willy Sudiarto Raharjo
parent 0ca1d540a0
commit 61b09be841
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 13 additions and 5 deletions

View File

@ -13,12 +13,20 @@ mirroring, quota enforcement (not quota tracking), and
more than one storage pools, etc.
Refer to the file "LICENSE.txt" for details.
openzfs is an optional run-time dependency.
Set BEEGFS_CTL_SUID to YES to install the beegfs-ctl program
setUID to root:
env BEEGFS_CTL_SETUID=YES ./beegfs.SlackBuild
openzfs is an optional run-time dependency.
The client driver is kernel-dependent, so a re-compile of
this package is necessary for client nodes after a kernel-update.
Note: The client driver is kernel-dependent, so a re-compile
of this package is necessary for client nodes after a kernel-update.
Set KERNEL to the kernel version the client driver to be built for:
env KERNEL=5.15.117 ./beegfs.SlackBuild
The default ./beegfs.SlackBuild is equivalent to
env BEEGFS_CTL_SETUID=NO KERNEL=`uname -r` ./beegfs.SlackBuild

View File

@ -29,7 +29,7 @@ PRGNAM=beegfs
VERSION=${VERSION:-7.4.1}
VERSION_MAJOR=$(echo $VERSION | cut -d. -f1,1)
SRCNAM=v$VERSION_MAJOR
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -153,7 +153,7 @@ install -o 0 -g 0 -p -m 0600 -t $PKG/etc/beegfs client_module/build/dist/etc/bee
install -o 0 -g 0 -d -m 0755 $PKG/etc/beegfs/lib
install -o 0 -g 0 -p -m 0755 -t $PKG/etc/beegfs/lib client_module/scripts/etc/beegfs/lib/*
make -C client_module/build BEEGFS_VERSION=$VERSION KRELEASE=$KERNEL
make BEEGFS_VERSION=$VERSION DESTDIR=$PKG PREFIX= KRELEASE=$KERNEL client-install
make BEEGFS_VERSION=$VERSION DESTDIR=$PKG PREFIX= KVER=$KERNEL KRELEASE=$KERNEL client-install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true