From 61b09be841252d9653ab82efc7914cb56116c541 Mon Sep 17 00:00:00 2001 From: GUAN Xin Date: Fri, 29 Sep 2023 23:02:13 +0700 Subject: network/beegfs: Update script. Signed-off-by: Willy Sudiarto Raharjo --- network/beegfs/README | 14 +++++++++++--- network/beegfs/beegfs.SlackBuild | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'network') diff --git a/network/beegfs/README b/network/beegfs/README index 8eafcf0d9746..0ba7cbe88c58 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 943fc408e203..bf2d2c61f349 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 -- cgit v1.2.3