Rather install modules into the buildroot

This commit is contained in:
Jakub Kadlcik
2017-10-30 00:40:38 +01:00
parent e0d1c6eb01
commit a942f29494

View File

@@ -83,9 +83,9 @@ class CoprModuleBuilder(GenericBuilder):
self.copr = self._get_copr_safe()
self._create_module_safe()
# @FIXME Not able to use gcc-c++ in chroot (RhBug: 1440889)
packages = groups["build"] - {"gcc-c++"}
self._update_chroot(packages=list(packages))
buildrequires = ["@{}:{}/{}".format(n, s, "buildroot")
for n, s in self.module.mmd().buildrequires.items()]
self._update_chroot(packages=buildrequires)
if self.copr and self.copr.projectname and self.copr.username:
self.__prep = True