rmpath = '/tmp/%s-build%s' %(BUILD_ID, BUILD_NUMBER)
if os.path.isdir(rmpath):
try:
- pass
- #shutil.rmtree(rmpath)
+ shutil.rmtree(rmpath)
except IOError, error:
logger.debug('Got exception with error code: %s', error.errno)
if error.errno == 2:
parallel_jobs = int(parallel_jobs)
cmd = [MAKE_KPKG, '-j', '%s' %(parallel_jobs), '--arch',
- '%s' %(BUILD_ARCH), '--rootcmd', 'fakeroot', '--revision', '3.0',
- '--append-to-version', '+%s' %(version), '--initrd', '--arch-in-name',
+ '%s' %(BUILD_ARCH), '--rootcmd', 'fakeroot',
+ '--initrd', '--arch-in-name',
'configure' ]
#'kernel_debug',