mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
Install header during post-build rather than post-install.
New versions of dkms clean up the build directory after installing. It appears that this was always intended, but had rm -rf "/path/to/build/*" (note the quotes), which prevented it from working. Also, the build step is already installing stuff into the directory where these files go, so installing our stuff there as part of build rather than install makes sense. Signed-off-by: Tom Prince <tom.prince@clusterhq.com> Signed-off-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #399
This commit is contained in:
parent
81857a34d1
commit
de2a22fcb3
@ -1,4 +1,4 @@
|
|||||||
EXTRA_DIST = check.sh dkms.mkconf dkms.postinst kmodtool
|
EXTRA_DIST = check.sh dkms.mkconf dkms.postbuild kmodtool
|
||||||
|
|
||||||
check:
|
check:
|
||||||
$(top_srcdir)/scripts/check.sh
|
$(top_srcdir)/scripts/check.sh
|
||||||
|
@ -56,7 +56,7 @@ PRE_BUILD="configure
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
POST_INSTALL="scripts/dkms.postinst
|
POST_BUILD="scripts/dkms.postbuild
|
||||||
-n \${PACKAGE_NAME}
|
-n \${PACKAGE_NAME}
|
||||||
-v \${PACKAGE_VERSION}
|
-v \${PACKAGE_VERSION}
|
||||||
-a \${arch}
|
-a \${arch}
|
||||||
|
Loading…
Reference in New Issue
Block a user