Fix spl-dkms-git

pull/211/head
Jan Houben 7 years ago
parent 03f8bfce0d
commit 2c8941219b
No known key found for this signature in database
GPG Key ID: B7C6B271DEB42D74
  1. 6
      src/kernels/dkms.sh
  2. 2
      src/spl-dkms/PKGBUILD.sh

@ -3,7 +3,7 @@ mode_name="dkms"
mode_desc="Select and use the dkms packages"
# version
pkgrel="1"
pkgrel="2"
# Version for GIT packages
pkgrel_git="${pkgrel}"
@ -73,8 +73,8 @@ update_dkms_git_pkgbuilds() {
fi
spl_utils_pkgname="spl-utils-common-git=${spl_git_ver}"
zfs_utils_pkgname="zfs-utils-common-git=${zfs_git_ver}"
spl_mod_ver=${spl_git_ver%%_*}
zfs_mod_ver=${zfs_git_ver%%_*}
spl_mod_ver="git"
zfs_mod_ver="git"
spl_src_target="git+${spl_git_url}#commit=${latest_spl_git_commit}"
zfs_src_target="git+${zfs_git_url}#commit=${latest_zfs_git_commit}"
}

@ -35,7 +35,7 @@ package() {
make clean
make distclean
find . -name ".git*" -print0 | xargs -0 rm -fr --
scripts/dkms.mkconf -v ${zfs_mod_ver} -f dkms.conf -n spl
scripts/dkms.mkconf -v ${spl_mod_ver} -f dkms.conf -n spl
chmod g-w,o-w -R .
}

Loading…
Cancel
Save