except: pass
run_cmd(root_command +' make dist-gzip', shell=True)
run_cmd('cp *.tar.gz ' +dist_dir, shell=True)
- run_cmd(schroot_command + ' make', shell=True)
+ run_cmd(schroot_command + ' make -j3', shell=True)
def make_install(package):
with current_directory(package):
our_schroot = None
if options.schroot is not None:
our_schroot = Schroot(options.schroot)
- schroot_command = "schroot -r -c " + our_schroot.name + ' --'
- root_command = schroot_command + " -u root"
+ schroot_command_base = "schroot -r -c " + our_schroot.name
+ root_command = schroot_command_base + " -u root --"
+ schroot_command = schroot_command_base + ' --'
all_packages = read_packages()
if len(packages) == 0: packages = all_packages