mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 11:48:33 +08:00
Install some required packages into the buildroot
This commit is contained in:
@@ -54,6 +54,13 @@ class CoprModuleBuilder(GenericBuilder):
|
||||
|
||||
backend = "copr"
|
||||
_build_lock = threading.Lock()
|
||||
buildroot_packages = [
|
||||
"unzip", "tar", "cpio", "gawk", "xz", "sed",
|
||||
"findutils", "util-linux", "bash", "info", "gcc",
|
||||
"grep", "redhat-rpm-config", "shadow-utils", "rpm-build",
|
||||
"rpm", "coreutils", "fedora-modular-release", "diffutils",
|
||||
"make", "patch", "shadow-utils",
|
||||
]
|
||||
|
||||
@module_build_service.utils.validate_koji_tag('tag_name')
|
||||
def __init__(self, owner, module, config, tag_name, components):
|
||||
@@ -81,6 +88,7 @@ class CoprModuleBuilder(GenericBuilder):
|
||||
"""
|
||||
self.copr = self._get_copr_safe()
|
||||
self._create_module_safe()
|
||||
self._update_chroot(packages=self.buildroot_packages)
|
||||
if self.copr and self.copr.projectname and self.copr.username:
|
||||
self.__prep = True
|
||||
log.info("%r buildroot sucessfully connected." % self)
|
||||
|
||||
Reference in New Issue
Block a user