Bug 1320104
| Summary: | Add option to use different repositories while building chroot environment | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Lukas Herbolt <lherbolt> |
| Component: | retrace-server | Assignee: | abrt <abrt-devel-list> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | michal.toman |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-08 22:22:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1292556 | ||
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug. |
Description of problem: Current release uses one big repository which contains all the packages and debug info. We need option for mock/retrace to use existing repositories which are located in different directories. Looking at the code: # vim /usr/lib/python2.7/site-packages/retrace/retrace_worker.py # create mock config file try: with open(os.path.join(task.get_savedir(), RetraceTask.MOCK_DEFAULT_CFG), "w") as mockcfg: mockcfg.write("config_opts['root'] = '%d'\n" % task.get_taskid()) mockcfg.write("config_opts['target_arch'] = '%s'\n" % arch) mockcfg.write("config_opts['chroot_setup_cmd'] = '--skip-broken install %s abrt-addon-ccpp shadow-utils gdb rpm'\n" % " ".join(packages)) ... } So if I read it correctly the retrace will create config which is then passed to the mock over '--configdir'. So we need to create config which will have multiple repositories. Ping me if you need more details... Lukas