-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
common.sh missing when build configured with --with-config=kernel #10450
Comments
TLDR, to build ZFS in to the kernel the process is as follows:
Let my try and explain how the options are intended to be used and then walk through your three case. The When When When
The way the build is setup when
Note: Since
Similar to above, when
This is because nothing should be built in this case and therefore there's nothing to install.
|
Thanks, this was helpful! |
System information
Describe the problem you're observing
Background: I'm trying to build a kernel to be used in a coreboot image, with ZFS built in; am performing all actions as a non-privileged user, as this process should not be modifying the host system.
After running
configure
with--with-config=kernel
out of a freshly extracted 0.8.4 tarball,make
fails, complaining of "Missing helper script common.sh". If I remove--with-config=kernel
, whilemake
succeeds,make install
fails because it wants to put files into /etc/default/zfs and it can't because it isn't running as root. However, if I first configure/build without--use-config=kernel
and then configure/build again with it, THENmake install
succeeds without error.Describe how to reproduce the problem
Case 1
Kernel version 5.4.46 tarball freshly extracted into /home/kernelshop/linux-5.4.46, ZFS version 0.8.4 tarball freshly extracted into /home/kernelshop/zfs-0.8.4
make
will fail, complaining of common.sh being missing (log below).Case 2
Kernel version 5.4.46 tarball freshly extracted into /home/kernelshop/linux-5.4.46, ZFS version 0.8.4 tarball freshly extracted into /home/kernelshop/zfs-0.8.4
make install
will fail, complaining that it cannot, as a non-root user, remove /etc/default/zfs (log below).Case 3
Kernel version 5.4.46 tarball freshly extracted into /home/kernelshop/linux-5.4.46, ZFS version 0.8.4 tarball freshly extracted into /home/kernelshop/zfs-0.8.4
make install
will succeed here.Include any warning/errors/backtraces from the system logs
Case 1
Case 2
Case 3
The text was updated successfully, but these errors were encountered: