mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
buildhistory.bbclass: print message when no commit
This makes the user easier to know how to make commit in buildhistory. [YOCTO #11547] (From OE-Core rev: 164a0bd847f02ca65dcd53ddc789690060274191) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9fd9fae634
commit
0cdabb7404
@@ -824,6 +824,8 @@ python buildhistory_eventhandler() {
|
||||
interrupted = getattr(e, '_interrupted', 0)
|
||||
localdata.setVar('BUILDHISTORY_BUILD_INTERRUPTED', str(interrupted))
|
||||
bb.build.exec_func("buildhistory_commit", localdata)
|
||||
else:
|
||||
bb.note("No commit since BUILDHISTORY_COMMIT != '1'")
|
||||
}
|
||||
|
||||
addhandler buildhistory_eventhandler
|
||||
|
||||
Reference in New Issue
Block a user