Bug 1320104 - Add option to use different repositories while building chroot environment
Summary: Add option to use different repositories while building chroot environment
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: retrace-server
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: abrt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1292556
TreeView+ depends on / blocked
 
Reported: 2016-03-22 10:27 UTC by Lukas Herbolt
Modified: 2024-07-08 22:22 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-08 22:22:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Herbolt 2016-03-22 10:27:02 UTC
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

Comment 1 Troy Dawson 2024-07-08 22:22:24 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.