buildhistory: add a note when committing to buildhistory
authorRoss Burton <ross.burton@intel.com>
Fri, 2 Aug 2013 12:15:07 +0000 (13:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Aug 2013 11:39:54 +0000 (12:39 +0100)
If there's been a lot of changes the commit to buildhistory can take a
significant amount of time, so print a note so there's some indication of
progress.

(From OE-Core rev: ccd911ba8887f5c9a72d5178617c2a3ee73264ff)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass

index 36e7fe1..c5bba25 100644 (file)
@@ -531,6 +531,7 @@ END
 python buildhistory_eventhandler() {
     if e.data.getVar('BUILDHISTORY_FEATURES', True).strip():
         if e.data.getVar("BUILDHISTORY_COMMIT", True) == "1":
+            bb.note("Writing buildhistory")
             bb.build.exec_func("buildhistory_commit", e.data)
 }