[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] [PATCH 03/11] debian: force modprobe



From: Fabio M. Di Nitto <fdinitto redhat com>

well, a linux system without modprobe can't use any modules.
so this just assumes that it is available in a real system

Signed-off-by: Fabio M. Di Nitto <fdinitto redhat com>
---
:100644 100644 45dc2c9... 06759b6... M	configure.in
 configure.in |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/configure.in b/configure.in
index 45dc2c9..06759b6 100644
--- a/configure.in
+++ b/configure.in
@@ -974,11 +974,7 @@ if test x$UDEV_SYNC = xyes; then
 fi
 
 ################################################################################
-AC_PATH_PROG(MODPROBE_CMD, modprobe)
-
-if test x$MODPROBE_CMD != x; then
-	AC_DEFINE_UNQUOTED([MODPROBE_CMD], ["$MODPROBE_CMD"], [The path to 'modprobe', if available.])
-fi
+AC_DEFINE_UNQUOTED([MODPROBE_CMD], ["/sbin/modprobe"], [The path to 'modprobe', if available.])
 
 ################################################################################
 dnl -- dmeventd pidfile and executable path
-- 
1.5.4.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]