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

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