projects
/
auto-debuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
49465b6
)
do not clean again after building
author
Ralf Jung
<post@ralfj.de>
Thu, 13 Dec 2012 14:39:54 +0000
(15:39 +0100)
committer
Ralf Jung
<post@ralfj.de>
Thu, 13 Dec 2012 14:39:54 +0000
(15:39 +0100)
auto_debuild.py
patch
|
blob
|
history
diff --git
a/auto_debuild.py
b/auto_debuild.py
index 2bb4f8ce1856fcd0c6c2eb54a450ceaaad4d3e1f..4c7e10e2ac2fbafa250012c4c63cf6ad6a3d9cb1 100755
(executable)
--- a/
auto_debuild.py
+++ b/
auto_debuild.py
@@
-337,7
+337,7
@@
def createDebianFiles(config):
def buildDebianPackage(config):
if not isinstance(config, ConfigDict):
config = ConfigDict(config)
def buildDebianPackage(config):
if not isinstance(config, ConfigDict):
config = ConfigDict(config)
- commands = ['dpkg-checkbuilddeps', 'debian/rules clean', 'debian/rules build', 'fakeroot debian/rules binary'
, 'debian/rules clean'
]
+ commands = ['dpkg-checkbuilddeps', 'debian/rules clean', 'debian/rules build', 'fakeroot debian/rules binary']
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
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