diff options
-rw-r--r-- | system/zfs-on-linux/README | 16 | ||||
-rw-r--r-- | system/zfs-on-linux/zfs-on-linux.SlackBuild | 10 | ||||
-rw-r--r-- | system/zfs-on-linux/zfs-on-linux.info | 6 |
3 files changed, 15 insertions, 17 deletions
diff --git a/system/zfs-on-linux/README b/system/zfs-on-linux/README index 4d87857e40..2351b37ceb 100644 --- a/system/zfs-on-linux/README +++ b/system/zfs-on-linux/README @@ -1,17 +1,15 @@ ZFS is a modern filesystem originally developed for SOLARIS. It provides many functionalities such as snapshots, data compression, -data recovery and many more. +data recovery, filesystem (snapshot) sending/reveiving, and more. For more information about ZFS on linux, visit http://zfsonlinux.org -You'll need the kernel source code to be able to compile this. -This package is kernel dependent, so you'll need to recompile it -for every new kernel you choose to run. +NOTE: You'll need the kernel source code to be able to compile this. +This package is kernel dependent, so you'll need to recompile it for +every new kernel you choose to run. -If you don't have a /usr/src/linux symlink pointing to your real -kernel directory (the script looks for it there by default), specify -your kernel source destination by - - LINUXPATH=<path to your kernel source> ./zfs-on-linux.SlackBuild +If you're building this for a kernel that isn't currently running, +you'll need to pass what that kernel's 'uname -r' output will be +to the KERN variable when running the build script, e.g. KERN=4.14.9 NOTE: you should run this on x86_64 systems. diff --git a/system/zfs-on-linux/zfs-on-linux.SlackBuild b/system/zfs-on-linux/zfs-on-linux.SlackBuild index 0dcf4c72fc..c6ec1a908c 100644 --- a/system/zfs-on-linux/zfs-on-linux.SlackBuild +++ b/system/zfs-on-linux/zfs-on-linux.SlackBuild @@ -28,11 +28,11 @@ PRGNAM=zfs-on-linux SRCNAM=zfs -VERSION=${VERSION:-0.7.4} +VERSION=${VERSION:-0.7.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -LINUXPATH=${LINUXPATH:-/usr/src/linux} -KERN=$(cut -d '"' -f2 $LINUXPATH/include/generated/utsrelease.h | tr - _) + +KERN=${KERN:-"$(uname -r)"} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -87,8 +87,8 @@ CFLAGS="$SLKCFLAGS" \ --includedir=/usr/include \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --with-linux=$LINUXPATH \ - --with-linux-obj=$LINUXPATH \ + --with-linux="/lib/modules/${KERN}/source" \ + --with-linux-obj="/lib/modules/${KERN}/source" \ --with-udevdir=/lib/udev \ --enable-static=no \ --build=$ARCH-slackware-linux diff --git a/system/zfs-on-linux/zfs-on-linux.info b/system/zfs-on-linux/zfs-on-linux.info index ef517624dc..be63df70b4 100644 --- a/system/zfs-on-linux/zfs-on-linux.info +++ b/system/zfs-on-linux/zfs-on-linux.info @@ -1,8 +1,8 @@ PRGNAM="zfs-on-linux" -VERSION="0.7.4" +VERSION="0.7.5" HOMEPAGE="http://zfsonlinux.org" -DOWNLOAD="https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.4/zfs-0.7.4.tar.gz" -MD5SUM="092061297072a7c6d6ff7a9cc92f907e" +DOWNLOAD="https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.5/zfs-0.7.5.tar.gz" +MD5SUM="51c5dbef614120029491534375a5dd43" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="spl-solaris" |