summaryrefslogtreecommitdiff
path: root/sys-kernel/zfs-dkms/files/dkms.conf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-07-04 19:26:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-07-04 19:26:41 +0100
commit53d283f13409958e4b63d9b13eafeef997163565 (patch)
treeeb5d254f321149ccc19083f28432c05f1f4508dd /sys-kernel/zfs-dkms/files/dkms.conf
parentb4c4674dd5fddcb3a4cee8389665790ac7d39cf0 (diff)
sys-fs/zfs : version bump
Diffstat (limited to 'sys-kernel/zfs-dkms/files/dkms.conf')
-rw-r--r--sys-kernel/zfs-dkms/files/dkms.conf39
1 files changed, 27 insertions, 12 deletions
diff --git a/sys-kernel/zfs-dkms/files/dkms.conf b/sys-kernel/zfs-dkms/files/dkms.conf
index fc99abf7..44661175 100644
--- a/sys-kernel/zfs-dkms/files/dkms.conf
+++ b/sys-kernel/zfs-dkms/files/dkms.conf
@@ -1,14 +1,26 @@
PACKAGE_NAME="zfs-dkms"
-PACKAGE_VERSION="0.7.13"
+PACKAGE_VERSION="0.8.1"
PACKAGE_CONFIG="/etc/sysconfig/zfs"
PRE_BUILD="configure
--prefix=/usr
--with-config=kernel
- --with-linux=${kernel_source_dir}
+ --with-linux=$(
+ case `lsb_release -is` in
+ (Debian|Devuan)
+ if [[ -e ${kernel_source_dir/%build/source} ]]
+ then
+ echo ${kernel_source_dir/%build/source}
+ else
+ # A kpkg exception for Proxmox 2.0
+ echo ${kernel_source_dir}
+ fi
+ ;;
+ (*)
+ echo ${kernel_source_dir}
+ ;;
+ esac
+ )
--with-linux-obj=${kernel_source_dir}
- --with-spl=${source_tree}/spl-dkms-${PACKAGE_VERSION}
- --with-spl-obj=${dkms_tree}/spl-dkms/${PACKAGE_VERSION}/${kernelver}/${arch}
- --with-spl-timeout=300
$(
[[ -n \"${ICP_ROOT}\" ]] && \
{
@@ -25,9 +37,9 @@ PRE_BUILD="configure
then
echo --enable-debug
fi
- if [[ ${ZFS_DKMS_ENABLE_DMU_TX,,} == @(y|yes) ]]
+ if [[ ${ZFS_DKMS_ENABLE_DEBUGINFO,,} == @(y|yes) ]]
then
- echo --enable-debug-dmu-tx
+ echo --enable-debuginfo
fi
}
)
@@ -39,7 +51,6 @@ POST_BUILD="scripts/dkms.postbuild
-k ${kernelver}
-t ${dkms_tree}
"
-BUILD_DEPENDS[0]="spl-dkms"
AUTOINSTALL="yes"
REMAKE_INITRD="no"
MAKE[0]="make"
@@ -56,6 +67,7 @@ STRIP[3]="${STRIP[0]}"
STRIP[4]="${STRIP[0]}"
STRIP[5]="${STRIP[0]}"
STRIP[6]="${STRIP[0]}"
+STRIP[7]="${STRIP[0]}"
BUILT_MODULE_NAME[0]="zavl"
BUILT_MODULE_LOCATION[0]="module/avl/"
DEST_MODULE_LOCATION[0]="/extra/dkms"
@@ -71,9 +83,12 @@ DEST_MODULE_LOCATION[3]="/extra/dkms"
BUILT_MODULE_NAME[4]="zfs"
BUILT_MODULE_LOCATION[4]="module/zfs/"
DEST_MODULE_LOCATION[4]="/extra/dkms"
-BUILT_MODULE_NAME[5]="zpios"
-BUILT_MODULE_LOCATION[5]="module/zpios/"
+BUILT_MODULE_NAME[5]="icp"
+BUILT_MODULE_LOCATION[5]="module/icp/"
DEST_MODULE_LOCATION[5]="/extra/dkms"
-BUILT_MODULE_NAME[6]="icp"
-BUILT_MODULE_LOCATION[6]="module/icp/"
+BUILT_MODULE_NAME[6]="zlua"
+BUILT_MODULE_LOCATION[6]="module/lua/"
DEST_MODULE_LOCATION[6]="/extra/dkms"
+BUILT_MODULE_NAME[7]="spl"
+BUILT_MODULE_LOCATION[7]="module/spl/"
+DEST_MODULE_LOCATION[7]="/extra/dkms"