From d67250f427937cb4b6f75b27d47d35302bd9890b Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Thu, 11 Feb 2010 09:07:20 +0100 Subject: Fix file system autodetection of filesystems when the running kernel and the target kernel don't match. We need --set-version when resolving filesystem aliases, thanks Tobias. --- install/autodetect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/autodetect b/install/autodetect index adfee9f..6c9193c 100644 --- a/install/autodetect +++ b/install/autodetect @@ -20,7 +20,7 @@ install () if [ ${UID} -eq 0 -o "$(groups | grep disk)" != "" ]; then for fs in $(findfs | sort | uniq); do - allfs="${fs} $(modprobe --resolve-alias ${fs})" + allfs="${fs} $(modprobe --set-version ${KERNELVERSION} --resolve-alias ${fs})" for mod in ${allfs}; do for modfile in $(find "${MODULEDIR}" -type f -name "${mod}.ko"); do if [ -n "${modfile}" ]; then -- cgit v1.2.3-24-g4f1b