summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author GUAN Xin2023-09-29 18:02:13 +0200
committer Willy Sudiarto Raharjo2023-09-29 18:02:13 +0200
commit61b09be841252d9653ab82efc7914cb56116c541 (patch)
treee1fa0cf2ba0da07ee18b8e036d0d906ff5eb9aa5 /network
parent0ca1d540a09cc72bf4feed32238c0ac9fd1718ae (diff)
downloadslackbuilds-61b09be841252d9653ab82efc7914cb56116c541.tar.gz
network/beegfs: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/beegfs/README14
-rw-r--r--network/beegfs/beegfs.SlackBuild4
2 files changed, 13 insertions, 5 deletions
diff --git a/network/beegfs/README b/network/beegfs/README
index 8eafcf0d97..0ba7cbe88c 100644
--- a/network/beegfs/README
+++ b/network/beegfs/README
@@ -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.
+
+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
-Note: The client driver is kernel-dependent, so a re-compile
-of this package is necessary for client nodes after a kernel-update.
+ env BEEGFS_CTL_SETUID=NO KERNEL=`uname -r` ./beegfs.SlackBuild
diff --git a/network/beegfs/beegfs.SlackBuild b/network/beegfs/beegfs.SlackBuild
index 943fc408e2..bf2d2c61f3 100644
--- a/network/beegfs/beegfs.SlackBuild
+++ b/network/beegfs/beegfs.SlackBuild
@@ -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