Change module build state to 'build' even if we reuse all the components, so we handle the buildsys.tag message.

This commit is contained in:
Jan Kaluza
2017-05-22 13:54:08 +02:00
parent ebab993244
commit a819f51549

View File

@@ -239,8 +239,10 @@ def wait(config, session, msg):
# If all components in module build will be reused, we don't have to build
# module-build-macros, because there won't be any build done.
if attempt_to_reuse_all_components(builder, session, build):
log.info("All components have ben reused for module %r, "
log.info("All components have been reused for module %r, "
"skipping build" % build)
build.transition(config, state="build")
session.add(build)
session.commit()
return []
else: