I updated it for both 'zfs' and 'spl':
diff --git a/Makefile.in b/Makefile.in
index 57102c2..e4a9ec0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -798,12 +798,13 @@ esos_kernels: kernel_headers $(if $(findstring
yes,$(enable_zfs)),glibc gcc util
fi; \
if [ "$(enable_zfs)" = "yes" ]; then \
$(ECHO) "### Building the SPL and ZFS modules..."; \
- cd $(spl_src) && ./configure --prefix=/usr \
+ cd $(spl_src) && ./configure --prefix=/usr --sysconfdir=/etc \
--with-linux=$(linux_src) --with-linux-obj=$(linux_src); \
$(MAKE) --directory=$(spl_src)/module modules; \
$(MAKE) --directory=$(spl_src)/module modules_install \
DESTDIR=$(IMAGE_DIR); \
- cd $(zfs_src) && $(SED) -i 's/CDDL/GPL/' META &&
./configure --prefix=/usr \
+ cd $(zfs_src) && $(SED) -i 's/CDDL/GPL/' META && ./configure \
+ --prefix=/usr --sysconfdir=/etc \
--with-linux=$(linux_src) --with-linux-obj=$(linux_src) \
--with-spl=$(spl_src) --with-spl-obj=$(spl_src) \
--with-udevdir="/usr/lib/udev"; \
I haven't tested the build yet, but once I do, I will push this commit.
--Marc