Blame SOURCES/0207-meson-fix-modprobedatadir-default-value.patch

26ccd9
From ed56d6053c532f43a8bbd109a87e754a43def845 Mon Sep 17 00:00:00 2001
26ccd9
From: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
26ccd9
Date: Thu, 11 Aug 2022 19:36:53 -0500
26ccd9
Subject: [PATCH 207/217] meson: fix modprobedatadir default value
26ccd9
26ccd9
The modprobedatadir is now set as a meson option, but without a
26ccd9
default value.
26ccd9
26ccd9
Set the default value if modprobedatadir is not set.
26ccd9
26ccd9
Link: https://lore.kernel.org/r/20220812003653.53992-1-miguel.bernal.marin@linux.intel.com
26ccd9
Fixes: 524ad09d5eda ("meson: make modprobedatadir an option")
26ccd9
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
26ccd9
Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
26ccd9
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
26ccd9
---
26ccd9
 contrib/meson.build | 2 +-
26ccd9
 1 file changed, 1 insertion(+), 1 deletion(-)
26ccd9
26ccd9
diff --git a/contrib/meson.build b/contrib/meson.build
26ccd9
index ad63a50..48aa7c0 100644
26ccd9
--- a/contrib/meson.build
26ccd9
+++ b/contrib/meson.build
26ccd9
@@ -26,6 +26,6 @@ endif
26ccd9
 
26ccd9
 modprobedatadir = get_option('modprobedatadir')
26ccd9
 if modprobedatadir == ''
26ccd9
-  modprobedatadir = get_option('modprobedatadir')
26ccd9
+  modprobedatadir = sysconfdir + '/modprobe.d/'
26ccd9
 endif
26ccd9
 install_data('nvdimm-security.conf', install_dir : modprobedatadir)
26ccd9
-- 
26ccd9
2.27.0
26ccd9