From 4c596414acd8722c97f45e0839c6d772f3e045a8 Mon Sep 17 00:00:00 2001 From: Noel Georgi Date: Thu, 14 Dec 2023 17:55:53 +0530 Subject: [PATCH] fix: zfs module build Since zfs moved all modules to `zfs` and `spl`, the build step needs to be updated. Signed-off-by: Noel Georgi --- zfs/pkg.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zfs/pkg.yaml b/zfs/pkg.yaml index efd02d03e..1f43d666d 100644 --- a/zfs/pkg.yaml +++ b/zfs/pkg.yaml @@ -26,9 +26,7 @@ steps: cp /src/modules.builtin /rootfs/lib/modules/$(cat /src/include/config/kernel.release)/ cp /src/modules.builtin.modinfo /rootfs/lib/modules/$(cat /src/include/config/kernel.release)/ - for i in $(find $(pwd)/module/ -mindepth 1 -maxdepth 1 -type d); do - make -j $(nproc) -C /src M="$i" modules_install DESTDIR=/rootfs INSTALL_MOD_PATH=/rootfs INSTALL_MOD_DIR=extras INSTALL_MOD_STRIP=1 CONFIG_MODULE_SIG_ALL=y - done + make -j $(nproc) -C /src M="$(pwd)/module" modules_install DESTDIR=/rootfs INSTALL_MOD_PATH=/rootfs INSTALL_MOD_DIR=extras INSTALL_MOD_STRIP=1 CONFIG_MODULE_SIG_ALL=y test: - | # https://www.kernel.org/doc/html/v4.15/admin-guide/module-signing.html#signed-modules-and-stripping