clear message when chrooting bootstrap
authorGui Chen <gui.chen@intel.com>
Wed, 15 Aug 2012 15:45:06 +0000 (23:45 +0800)
committerGui Chen <gui.chen@intel.com>
Thu, 16 Aug 2012 13:32:55 +0000 (21:32 +0800)
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/chroot.py
mic/rt_util.py

index 0e7be5d0e47747c7dde8a81fc139b7278e66d471..12ffa2f787b95bb4466984c0d26acbc81b0fa244 100644 (file)
@@ -164,7 +164,7 @@ def setup_chrootenv(chrootdir, bindmounts = None):
 
     def bind_mount(chrootmounts):
         for b in chrootmounts:
-            msger.info("bind_mount: %s -> %s" % (b.src, b.dest))
+            msger.verbose("bind_mount: %s -> %s" % (b.src, b.dest))
             b.mount()
 
     def setup_resolv(chrootdir):
@@ -194,7 +194,7 @@ def cleanup_chrootenv(chrootdir, bindmounts = None, globalmounts = []):
     def bind_unmount(chrootmounts):
         chrootmounts.reverse()
         for b in chrootmounts:
-            msger.info("bind_unmount: %s -> %s" % (b.src, b.dest))
+            msger.verbose("bind_unmount: %s -> %s" % (b.src, b.dest))
             b.unmount()
 
     def cleanup_resolv(chrootdir):
index f7264dae5bfeff395d89551d04360cdeed146d14..bbfb526871a0d3a67815f6ceb6fd4dc2843d4467 100644 (file)
@@ -68,6 +68,7 @@ def bootstrap_mic(argv=None):
     # run mic in bootstrap
     globalmounts = None
     bindmounts = get_bindmounts(cropts)
+    msger.info("Start mic in bootstrap: %s\n" % rootdir)
     try:
         proxy.set_proxy_environ()
         globalmounts = setup_chrootenv(rootdir, bindmounts)