Force to use x86_64 epel release package abs path
Signed-off-by: Diego Herrera <dherrera@redhat.com>
This commit is contained in:
parent
0091730a63
commit
805f7ff0a8
1 changed files with 3 additions and 1 deletions
|
@ -455,12 +455,14 @@ def get_epel_release_rel_path(release, epel_next=False):
|
|||
if epel_next:
|
||||
for path in Path(RELEASES[release]['repos']['epel']['to'][0]['dest']).rglob('epel-next-release*noarch*'):
|
||||
if 'Packages' in str(path) and 'x86_64' in str(path):
|
||||
abs_path = path
|
||||
pkg_relpath = os.path.relpath(path,EPELDEST)
|
||||
else:
|
||||
for path in sorted(Path(RELEASES[release]['repos']['epel']['to'][0]['dest']).rglob('epel-release*noarch*')):
|
||||
if 'Packages' in str(path) and 'x86_64' in str(path):
|
||||
abs_path = path
|
||||
pkg_relpath = os.path.relpath(path,EPELDEST)
|
||||
return path, pkg_relpath
|
||||
return abs_path, pkg_relpath
|
||||
|
||||
def update_epel_release_latest(releases):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue