Prefix tag in buildroot_add_repos with 'module-', because tags are prefixed like that in koji and PDC.

This commit is contained in:
Jan Kaluza
2016-12-07 11:18:05 +01:00
parent 34404ad215
commit fe37b6c11e

View File

@@ -469,7 +469,7 @@ chmod 644 %buildroot/%_rpmconfigdir/macros.d/macros.modules
log.info("%r buildroot sucessfully connected." % self)
def buildroot_add_repos(self, dependencies):
tags = [self._get_tag(d)['name'] for d in dependencies]
tags = [self._get_tag("module-" + d)['name'] for d in dependencies]
log.info("%r adding deps on %r" % (self, tags))
self._koji_add_many_tag_inheritance(self.module_build_tag, tags)