projects
/
auto-debuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a3a4796
)
Remove the niceness by default - that should be up to the caller
author
Ralf Jung
<post@ralfj.de>
Wed, 1 Aug 2012 10:57:21 +0000
(12:57 +0200)
committer
Ralf Jung
<post@ralfj.de>
Wed, 1 Aug 2012 10:57:21 +0000
(12:57 +0200)
auto_debuild.py
patch
|
blob
|
history
diff --git
a/auto_debuild.py
b/auto_debuild.py
index ab04dc0e9d752e24d5aa2f8e918e457e3f1fb515..8ef290ba8f2e5b253475979d6852722ee98a9608 100755
(executable)
--- a/
auto_debuild.py
+++ b/
auto_debuild.py
@@
-191,7
+191,7
@@
def createDebianFiles(config):
def buildDebianPackage(config):
commands = ['dpkg-checkbuilddeps', 'debian/rules clean', 'debian/rules build', 'fakeroot debian/rules binary', 'debian/rules clean']
def buildDebianPackage(config):
commands = ['dpkg-checkbuilddeps', 'debian/rules clean', 'debian/rules build', 'fakeroot debian/rules binary', 'debian/rules clean']
- command = ['
nice', 'bash', '-c', ' && '.join(commands)]
+ command = ['
bash', '-c', ' && '.join(commands)] # make it all one command, so we don't have to open and close the chroot too often
subprocess.check_call(commandInBuildEnv(config, command))
shutil.rmtree('debian') # it only contains what we just created
subprocess.check_call(commandInBuildEnv(config, command))
shutil.rmtree('debian') # it only contains what we just created