bootdisk/trunk/batch-installer/installer-prep
hawk
cvs at pld-linux.org
Tue Nov 22 19:39:16 CET 2005
Author: hawk
Date: Tue Nov 22 19:38:35 2005
New Revision: 6549
Modified:
bootdisk/trunk/batch-installer/installer-prep
Log:
- make non-wizard installer working again, execute
load_device_modules if needed
Modified: bootdisk/trunk/batch-installer/installer-prep
==============================================================================
--- bootdisk/trunk/batch-installer/installer-prep (original)
+++ bootdisk/trunk/batch-installer/installer-prep Tue Nov 22 19:38:35 2005
@@ -478,7 +478,7 @@
# invoked as load_nodule runs function load_module,
if test "x`basename $0 || :`" = "xload_module"; then
load_module "$@"; exit $?
-# invoked as load_device_module, runs function load_device_modules
+# invoked as load_device_modules, runs function load_device_modules
elif test "x`basename $0`" = "xload_device_modules"; then
load_device_modules "$@"; exit $?
elif test "x`basename $0 || :`" = "xinstaller-prep-source"; then
@@ -508,6 +508,12 @@
fi
fi
+######## load hostadapter modules if necessary #########
+
+if ! test -z $hostadapters_modules; then
+ load_device_modules $hostadapters_modules
+fi
+
############## get to the source ##############
case "$source" in
cdrom)
@@ -555,7 +561,6 @@
esac
# invoked as load_package runs function load_package,
-# invoked as load_device_module, runs function load_device_modules
if test "x`basename $0 || :`" = "xload_package"; then
load_package "$@"; exit $?
fi
More information about the pld-cvs-commit
mailing list