Whamcloud - gitweb
LU-16037 build: remove quotes from %{mkconf_options} 44/48044/4
authorJian Yu <yujian@whamcloud.com>
Wed, 3 Aug 2022 21:15:06 +0000 (14:15 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 19 Aug 2022 04:32:03 +0000 (04:32 +0000)
This patch fixes lustre-dkms.spec.in to remove quotes
from %{mkconf_options} passed to dkms.mkconf, so as to
resolve the following build issue:

dkms.conf: Error! Directive 'DEST_MODULE_LOCATION'
does not begin with '/kernel', '/updates', or '/extra'
in record #0.

Test-Parameters: trivial

Change-Id: I0b365d7a96cb632680bc2321e87b28a3bf076e47
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/48044
Reviewed-by: Colin Faber <cfaber@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre-dkms.spec.in

index c749b08..19ef9c6 100644 (file)
@@ -34,7 +34,7 @@
 #for Suse / Ubuntu
 %else
        %global kmod_name %{lustre_name}-kmp
-       %define mkconf_options "-k updates"
+       %define mkconf_options -k updates
 %endif
 
 %define buildid 1