summaryrefslogtreecommitdiffstats
path: root/py/mock.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/mock.py')
-rwxr-xr-xpy/mock.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/mock.py b/py/mock.py
index a09e6d8..7d82175 100755
--- a/py/mock.py
+++ b/py/mock.py
@@ -569,6 +569,7 @@ def main(ret):
if not os.path.exists(chroot.makeChrootPath()):
raise RuntimeError, "chroot %s not initialized!" % chroot.makeChrootPath()
try:
+ chroot._setupDev()
chroot._mountall()
cmd = ' '.join(args)
status = os.system("PS1='mock-chroot> ' /usr/sbin/chroot %s %s" % (chroot.makeChrootPath(), cmd))