From 10d8a10f832bfa71cf3fe32d1fad3e1b548fc74c Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Wed, 3 Aug 2022 23:37:19 -0700 Subject: [PATCH] LU-16037 build: remove quotes from %{mkconf_options} 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 Reviewed-on: https://review.whamcloud.com/48117 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Colin Faber Reviewed-by: Shaun Tancheff Reviewed-by: Oleg Drokin --- lustre-dkms.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre-dkms.spec.in b/lustre-dkms.spec.in index c749b08..19ef9c6 100644 --- a/lustre-dkms.spec.in +++ b/lustre-dkms.spec.in @@ -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 -- 1.8.3.1