--with-config=kernel does not generate common.sh for zfs.sh
ryao opened this issue · 0 comments
ryao commented
System information
Type | Version/Name |
---|---|
Distribution Name | Ubuntu |
Distribution Version | 20.04 |
Kernel Version | 5.3.0-26-generic |
Architecture | x86_64 |
OpenZFS Version | master |
Describe the problem you're observing
I was working on a kernel bug on a Ubuntu system provided to me by someone else. I had the idea of building only the kernel modules to save time and tried to use the very handy zfs.sh script to load the modules. Unfortunately, building only the kernel module means we do not build common.sh, which is a dependency for zfs.sh. We should build common.sh when we build kernel modules, since zfs.sh depends on it and it can be used for loading them.
Describe how to reproduce the problem
git clean -xdf && ./autogen.sh && ./configure --enable-debug --enable-debuginfo --with-config=kernel && make -j$(nproc)
sudo ./scripts/zfs.sh -v -r