From: Brian Behlendorf Date: Wed, 20 Mar 2013 18:01:48 +0000 (-0700) Subject: Use BUILD_DEPENDS option for dkms builds X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;h=ae0f0ba950bed72be0635c29d3dfecb5a811f121;p=zfs.git 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 --- 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"