From dd717c04b0736cb04384c991b9cdf8eea0aa4597 Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Wed, 2 Dec 2020 20:18:00 +0100 Subject: [PATCH] add zzstd.ko to zfs install Signed-off-by: Stoiko Ivanov --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 7c4f9f6..48680f8 100755 --- a/debian/rules +++ b/debian/rules @@ -128,7 +128,7 @@ binary: install ${MAKE} -C ${KERNEL_SRC} INSTALL_MOD_PATH=${BUILD_DIR}/debian/${PVE_KERNEL_PKG}/ modules_install # install zfs drivers install -d -m 0755 debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs - install -m 644 $(addprefix ${MODULES}/,zfs.ko zavl.ko znvpair.ko zunicode.ko zcommon.ko icp.ko zlua.ko spl.ko) debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs + install -m 644 $(addprefix ${MODULES}/,zfs.ko zavl.ko znvpair.ko zunicode.ko zcommon.ko icp.ko zlua.ko spl.ko zzstd.ko) debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs # remove firmware rm -rf debian/${PVE_KERNEL_PKG}/lib/firmware # strip debug info @@ -243,6 +243,7 @@ ${MODULES}/zfs.ko: .compile_mark cp ${MODULES}/${ZFSDIR}/module/zfs/zfs.ko ${MODULES}/ cp ${MODULES}/${ZFSDIR}/module/lua/zlua.ko ${MODULES}/ cp ${MODULES}/${ZFSDIR}/module/spl/spl.ko ${MODULES}/ + cp ${MODULES}/${ZFSDIR}/module/zstd/zzstd.ko ${MODULES}/ fwlist-${KVNAME}: .compile_mark .modules_compile_mark debian/scripts/find-firmware.pl debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME} >fwlist.tmp