# update changelog
cmd = 'sed -i -e \'s#DUMMY_ENTRY#%s#\' -e \'s#DUMMY_DATE#%s#\' %s' % (git_helper.git_get_commit_id(),git_helper.git_get_commit_date(),os.path.join(OVERLAY_DIR,'changelog'))
- logger.info(cmd)
+ logger.info('Running %s' % cmd)
os.system(cmd)
if not build_kernel(kernel_flavour, REVISION, OVERLAY_DIR, [ 'kernel_debug', 'kernel_image' ]):
%(' '.join(cmd), ret, error_str)
)
return False
- stdout_str = cmdobj.stdout.read()
+ stdout_str = cmdobj.stdout.read()[1:-1]
logger.info('current commit id is %s' % stdout_str)
return stdout_str
%(' '.join(cmd), ret, error_str)
)
return False
- stdout_str = cmdobj.stdout.read()
+ stdout_str = cmdobj.stdout.read()[1:-1]
logger.info('current commit date is %s' % stdout_str)
return stdout_str