Skip to content

Commit

Permalink
fix: zfs module build
Browse files Browse the repository at this point in the history
Since zfs moved all modules to `zfs` and `spl`, the build step needs to
be updated.

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Dec 14, 2023
1 parent e325097 commit 4c59641
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zfs/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c59641

Please sign in to comment.