projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06fc0fe
)
Mount option is modified to be more general
author
Gyeoungmin Kim
<g5.kim@samsung.com>
Wed, 3 Dec 2014 05:43:52 +0000
(14:43 +0900)
committer
admin
<yuhuan.yang@samsung.com>
Thu, 4 Feb 2016 10:31:23 +0000
(18:31 +0800)
Supporting for using command line tools as toybox, busybox.
Fixes: #2359
Change-Id: I3b5935609d83601900f03c978e48e95490559143
Signed-off-by: Gyeoungmin Kim <g5.kim@samsung.com>
mic/utils/fs_related.py
patch
|
blob
|
history
diff --git
a/mic/utils/fs_related.py
b/mic/utils/fs_related.py
index
2afa25c
..
dd50aee
100644
(file)
--- 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" %