commit a0574d1e3020aa8adef9d346ac2240f6ab26ffd5
Author: Yi Yang <[email protected]>
Date: Fri Feb 25 09:48:01 2011 +0800
Preload the required kernel modules before entering bootstrap
Note: we found some issues about dm_snapshot on Ubuntu and openSUSE,
these issues are random so we fail to trace them, it is better to
load kernel modues before entering bootstrap.
diff --git a/tools/mic-image-creator b/tools/mic-image-creator
index 2f4e106..44668a0 100755
--- a/tools/mic-image-creator
+++ b/tools/mic-image-creator
@@ -800,6 +800,9 @@ def main():
if options.local_pkgs_path:
bindmounts += "%s;" % options.local_pkgs_path
bindmounts = order_bindmounts(bindmounts)
+ """ Preload the required modules before entering bootstrap """
+ imgcreate.fs.load_module("btrfs")
+ imgcreate.fs.load_module("dm_snapshot")
run_in_bootstrap(options.bootstrap, argv, bindmounts, arch =
options.arch)
# For the case with release option, destdir is changed, so get it
for line in open(mypipe).xreadlines():
_______________________________________________
MeeGo-distribution-tools mailing list
[email protected]
http://lists.meego.com/listinfo/meego-distribution-tools