summaryrefslogtreecommitdiff
path: root/sys-kernel/zfs-dkms/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/zfs-dkms/files')
-rw-r--r--sys-kernel/zfs-dkms/files/dkms.conf61
1 files changed, 12 insertions, 49 deletions
diff --git a/sys-kernel/zfs-dkms/files/dkms.conf b/sys-kernel/zfs-dkms/files/dkms.conf
index 63714364..c4013881 100644
--- a/sys-kernel/zfs-dkms/files/dkms.conf
+++ b/sys-kernel/zfs-dkms/files/dkms.conf
@@ -1,5 +1,5 @@
PACKAGE_NAME="zfs-dkms"
-PACKAGE_VERSION="2.2.1"
+PACKAGE_VERSION="2.2.2"
PACKAGE_CONFIG="/etc/sysconfig/zfs"
NO_WEAK_MODULES="yes"
BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-6]\.)" # only build for kernels v5.x.x up to and including v6.6.x
@@ -7,22 +7,14 @@ PRE_BUILD="configure
--prefix=/usr
--with-config=kernel
--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
+ if [ -e "${kernel_source_dir/%build/source}" ]
+ then
+ echo "${kernel_source_dir/%build/source}"
+ else
+ echo "${kernel_source_dir}"
+ fi
)
- --with-linux-obj=${kernel_source_dir}
+ --with-linux-obj="${kernel_source_dir}"
$(
[[ -n \"${ICP_ROOT}\" ]] && \
{
@@ -54,7 +46,6 @@ POST_BUILD="scripts/dkms.postbuild
-t ${dkms_tree}
"
AUTOINSTALL="yes"
-REMAKE_INITRD="no"
MAKE[0]="make"
STRIP[0]="$(
[[ -r ${PACKAGE_CONFIG} ]] \
@@ -64,37 +55,9 @@ STRIP[0]="$(
&& echo -n no
)"
STRIP[1]="${STRIP[0]}"
-STRIP[2]="${STRIP[0]}"
-STRIP[3]="${STRIP[0]}"
-STRIP[4]="${STRIP[0]}"
-STRIP[5]="${STRIP[0]}"
-STRIP[6]="${STRIP[0]}"
-STRIP[7]="${STRIP[0]}"
-STRIP[8]="${STRIP[0]}"
-BUILT_MODULE_NAME[0]="zavl"
-BUILT_MODULE_LOCATION[0]="module/avl/"
+BUILT_MODULE_NAME[0]="zfs"
+BUILT_MODULE_LOCATION[0]="module/"
DEST_MODULE_LOCATION[0]="/extra/dkms"
-BUILT_MODULE_NAME[1]="znvpair"
-BUILT_MODULE_LOCATION[1]="module/nvpair/"
+BUILT_MODULE_NAME[1]="spl"
+BUILT_MODULE_LOCATION[1]="module/"
DEST_MODULE_LOCATION[1]="/extra/dkms"
-BUILT_MODULE_NAME[2]="zunicode"
-BUILT_MODULE_LOCATION[2]="module/unicode/"
-DEST_MODULE_LOCATION[2]="/extra/dkms"
-BUILT_MODULE_NAME[3]="zcommon"
-BUILT_MODULE_LOCATION[3]="module/zcommon/"
-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]="icp"
-BUILT_MODULE_LOCATION[5]="module/icp/"
-DEST_MODULE_LOCATION[5]="/extra/dkms"
-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"
-BUILT_MODULE_NAME[8]="zzstd"
-BUILT_MODULE_LOCATION[8]="module/zstd/"
-DEST_MODULE_LOCATION[8]="/extra/dkms"