From: Gyeoungmin Kim Date: Wed, 3 Dec 2014 05:43:52 +0000 (+0900) Subject: Mount option is modified to be more general X-Git-Tag: staging-released-tools-18.01.7~79^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e92f8fecb5e3468b79f3f0b2afb51d69052f5024;p=tools%2Fmic.git Mount option is modified to be more general Supporting for using command line tools as toybox, busybox. Fixes: #2359 Change-Id: I3b5935609d83601900f03c978e48e95490559143 Signed-off-by: Gyeoungmin Kim --- diff --git a/mic/utils/fs_related.py b/mic/utils/fs_related.py index 2afa25c..dd50aee 100644 --- a/mic/utils/fs_related.py +++ b/mic/utils/fs_related.py @@ -129,10 +129,10 @@ class BindChrootMount: return if self.mount_option: - cmdline = [self.mountcmd, "--bind", "-o", "%s" % \ + cmdline = [self.mountcmd, "-o" ,"bind", "-o", "%s" % \ self.mount_option, self.src, self.dest] else: - cmdline = [self.mountcmd, "--bind", self.src, self.dest] + cmdline = [self.mountcmd, "-o" ,"bind", self.src, self.dest] rc, errout = runner.runtool(cmdline, catch=2) if rc != 0: raise MountError("Bind-mounting '%s' to '%s' failed: %s" %