mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-25 01:16:34 +03:00
Use requested kernel for dkms builds
The --with-linux and --with-linux-obj options must be specified as part of the dkms build otherwise the package will be built against the running kernel. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
parent
19e9d8fd61
commit
bef14fbc8c
@ -25,6 +25,8 @@ PACKAGE_CONFIG="${pkgcfg}"
|
||||
PRE_BUILD="configure
|
||||
--prefix=/usr
|
||||
--with-config=kernel
|
||||
--with-linux=\${kernel_source_dir}
|
||||
--with-linux-obj=\${kernel_source_dir}
|
||||
\$(
|
||||
[[ -r \${PACKAGE_CONFIG} ]] \\
|
||||
&& source \${PACKAGE_CONFIG} \\
|
||||
|
Loading…
Reference in New Issue
Block a user