Skip to content

Commit 4c59641

Browse files
committed
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 <git@frezbo.dev>
1 parent e325097 commit 4c59641

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

zfs/pkg.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ steps:
2626
cp /src/modules.builtin /rootfs/lib/modules/$(cat /src/include/config/kernel.release)/
2727
cp /src/modules.builtin.modinfo /rootfs/lib/modules/$(cat /src/include/config/kernel.release)/
2828
29-
for i in $(find $(pwd)/module/ -mindepth 1 -maxdepth 1 -type d); do
30-
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
31-
done
29+
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
3230
test:
3331
- |
3432
# https://www.kernel.org/doc/html/v4.15/admin-guide/module-signing.html#signed-modules-and-stripping

0 commit comments

Comments
 (0)