From ae0f0ba950bed72be0635c29d3dfecb5a811f121 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 20 Mar 2013 11:01:48 -0700 Subject: [PATCH] Use BUILD_DEPENDS option for dkms builds Support was added to dkms so build dependencies can be specified. This allows us to ensure that the spl package will always be built before the zfs package. Those patches have not yet been merged upstream but they are available in the zfsonlinux/dkms repository. Signed-off-by: Brian Behlendorf --- scripts/dkms.mkconf | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf index 2e07be4..62caa4b 100755 --- a/scripts/dkms.mkconf +++ b/scripts/dkms.mkconf @@ -52,6 +52,7 @@ POST_INSTALL="scripts/dkms.postinst -k \${kernelver} -t \${dkms_tree} " +BUILD_DEPENDS[0]="spl" AUTOINSTALL="yes" REMAKE_INITRD="no" MAKE[0]="make" -- 1.8.3.1