bootdisk/trunk/batch-installer/installer-prep

hawk cvs at pld-linux.org
Sun Mar 19 20:00:53 CET 2006


Author: hawk
Date: Sun Mar 19 20:00:50 2006
New Revision: 7225

Modified:
   bootdisk/trunk/batch-installer/installer-prep
Log:
- load required filesystem module before mounting disk source


Modified: bootdisk/trunk/batch-installer/installer-prep
==============================================================================
--- bootdisk/trunk/batch-installer/installer-prep	(original)
+++ bootdisk/trunk/batch-installer/installer-prep	Sun Mar 19 20:00:50 2006
@@ -220,6 +220,26 @@
     load_module isofs
 }
 
+load_fs_modules () {
+    case "$source_filesystem" in 
+        ext2) 
+	    load_module ext2
+	    ;;
+        reiserfs) 
+	    load_module reiserfs
+	    ;;
+        jfs) 
+	    load_module jfs
+	    ;;
+        ext3) 
+	    load_module ext3
+	    ;;
+        xfs) 
+	    load_module xfs
+	    ;;
+    esac
+}
+
 load_nfs_modules () {
     load_module nfs
 }
@@ -564,6 +584,7 @@
 	    load_module sd_mod
 	    ;;
 	esac
+	load_fs_modules
 	mount_source -o ro
 	find_source_dir
 	;;


More information about the pld-cvs-commit mailing list