From: Holger Levsen Date: Thu, 3 Nov 2011 14:16:33 +0000 (+0100) Subject: more loggin X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=d045121a025d22842144d6b9c665167673ffd0b3;p=profitbricks%2Fjenkins-build-scripts.git more loggin --- diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index d3c6d60..0e0bb56 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -446,7 +446,9 @@ if __name__ == '__main__': kernel_persistence.update_kernel_branch_obj(kernel_revision_obj, git_helper.git_get_commit_id()) # update changelog - os.system('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'))) + 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) + os.system(cmd) if not build_kernel(kernel_flavour, REVISION, OVERLAY_DIR, [ 'kernel_debug', 'kernel_image' ]): exit(ERROR)