Whamcloud - gitweb
LU-16037 build: remove quotes from %{mkconf_options} 17/48117/3
authorJian Yu <yujian@whamcloud.com>
Thu, 4 Aug 2022 06:37:19 +0000 (23:37 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 20 Aug 2022 16:14:09 +0000 (16:14 +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.

Lustre-change: https://review.whamcloud.com/48044
Lustre-commit: 33efefc496159f7d0caed0fa85d8f92603060ae2

Test-Parameters: trivial

Change-Id: I0b365d7a96cb632680bc2321e87b28a3bf076e47
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/48117
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Colin Faber <cfaber@ddn.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