]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
more loggin
authorHolger Levsen <holger@layer-acht.org>
Thu, 3 Nov 2011 14:16:33 +0000 (15:16 +0100)
committerHolger Levsen <holger@layer-acht.org>
Thu, 3 Nov 2011 14:16:33 +0000 (15:16 +0100)
kernel_inpbuilder.py

index d3c6d60b63af0dbef95f7bfd0d51c05e9e7fbdb2..0e0bb5679bdad0d7b4062217d6dc9c4b001dfdea 100644 (file)
@@ -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)