Skip to content

Commit

Permalink
linux-4.14.15: Use a variable for SPL/ZFS version
Browse files Browse the repository at this point in the history
Do not update the old bee files, as we do not want to rebuild them.
  • Loading branch information
pmenzel committed Jan 30, 2018
1 parent e591efb commit f22cc16
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions linux-4.14.15-203.bee
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,18 @@ plaininstall_for_modules() {
build_spl_zfs_extra_modules_and_do_depmod() {
pushd .

local SPL_ZFS_VERSION=0.7.5
echo "spl/zfs"

mkdir -pv ${B}/spl_zfs_extra
cd ${B}/spl_zfs_extra

plaininstall_for_modules spl-0.7.5 spl-0.7.5.tar.gz \
https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.5/spl-0.7.5.tar.gz
plaininstall_for_modules spl-${SPL_ZFS_VERSION} spl-${SPL_ZFS_VERSION}.tar.gz \
https://github.com/zfsonlinux/zfs/releases/download/zfs-${SPL_ZFS_VERSION}/spl-${SPL_ZFS_VERSION}.tar.gz

plaininstall_for_modules zfs-0.7.5 zfs-0.7.5.tar.gz \
https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.5/zfs-0.7.5.tar.gz \
"--with-spl=${B}/spl_zfs_extra/spl-0.7.5"
plaininstall_for_modules zfs-${SPL_ZFS_VERSION} zfs-${SPL_ZFS_VERSION}.tar.gz \
https://github.com/zfsonlinux/zfs/releases/download/zfs-${SPL_ZFS_VERSION}/zfs-${SPL_ZFS_VERSION}.tar.gz \
"--with-spl=${B}/spl_zfs_extra/spl-${SPL_ZFS_VERSION}"

cd ${D}/lib/modules/${FULLKERNELVERSION}
depmod -a -b ${D} ${FULLKERNELVERSION}
Expand Down

0 comments on commit f22cc16

Please sign in to comment.