meson: fix modprobedatadir default value
PATCH 1/1 meson: fix modprobedatadir default value
The modprobedatadir is now set as a meson option, but without a default value.
Set the default value if modprobedatadir is not set.
Fixes 524ad09d5eda ("meson: make modprobedatadir an option")
Signed-off-by Miguel Bernal Marin <[email protected]>
--- contrib/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/meson.build +1 -1
@@ -26,6 +26,6 @@ endif modprobedatadir = get_option('modprobedatadir') if modprobedatadir == '' - modprobedatadir = get_option('modprobedatadir') + modprobedatadir = sysconfdir + '/modprobe.d/' endif install_data('nvdimm-security.conf', install_dir : modprobedatadir)
Signature · 1 line
2.37.1
Quoted 16 lines · Miguel Bernal Marin
The modprobedatadir is now set as a meson option, but without a default value.
Set the default value if modprobedatadir is not set.
Fixes 524ad09d5eda ("meson: make modprobedatadir an option")Signed-off-by Miguel Bernal Marin <[email protected]>--- contrib/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)contrib/meson.build +0
-0
contrib/meson.build endif · line 29
Quoted 5 lines
contrib/meson.build +1
-1@@ -26,6 +26,6 @@ endif modprobedatadir = get_option('modprobedatadir') if modprobedatadir == '' - modprobedatadir = get_option('modprobedatadir') + modprobedatadir = sysconfdir + '/modprobe.d/'
Looks good to me:
Reviewed-by Dan Williams <[email protected]>