else:
parallel_jobs = int(parallel_jobs)
+ cmd = ['m-a', 'update']
+ ret = os.system('%s' %(' '.join(cmd)))
+ if ret:
+ logger.error('%s returned with %s' %(' '.join(cmd), ret))
+ return False
+ logger.info(
+ 'module-assistant update ran successfully.'
+ )
+
cmd = [MAKE_KPKG, '-j', '%s' %(parallel_jobs), '--arch',
'%s' %(BUILD_ARCH), '--rootcmd', 'fakeroot', '--revision',
'%s' %(revision), '--initrd', '--arch_in_name', 'kernel_debug',
- 'kernel_image', 'kernel_source', 'kernel_headers', 'modules_image']
+ 'kernel_image', 'kernel_source', 'kernel_headers', 'modules']
logger.info('start compile process')