projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
525dd77
)
Pass --directory=/ to schroot
author
Peter Palfrader
<peter@palfrader.org>
Fri, 4 Jul 2014 20:26:20 +0000
(22:26 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 4 Jul 2014 20:26:20 +0000
(22:26 +0200)
modules/porterbox/files/dd-schroot-cmd
patch
|
blob
|
history
diff --git
a/modules/porterbox/files/dd-schroot-cmd
b/modules/porterbox/files/dd-schroot-cmd
index
e2d2111
..
8dc7a4b
100755
(executable)
--- a/
modules/porterbox/files/dd-schroot-cmd
+++ b/
modules/porterbox/files/dd-schroot-cmd
@@
-88,7
+88,7
@@
class WrappedRunner():
def __init__(self, session, args, unshare=True):
self.unshare = unshare
if not os_supports_unshare(): self.unshare = False
- s,r = self.run('schroot', '-c', session, '--run-session', '--', 'env', 'DEBIAN_FRONTEND=noninteractive', *args)
+ s,r = self.run('schroot', '-c', session, '--
directory=/', '--
run-session', '--', 'env', 'DEBIAN_FRONTEND=noninteractive', *args)
if s != 0:
die("Command %s exited due to signal %d."%(' '.join(args), s))
if r != 0: