cleanup ppc64le aswell

Signed-off-by: Dinar Valeev <dvaleev@suse.com>
This commit is contained in:
Dinar Valeev 2015-03-19 16:05:33 +01:00
parent d0df8ef5e6
commit 73d2083a23

View File

@ -79,31 +79,32 @@ class CleanupRings(object):
return False return False
self.find_inner_ring_links(prj) self.find_inner_ring_links(prj)
self.fill_pkgdeps(prj, 'standard', 'x86_64') for arch in [ 'x86_64', 'ppc64le' ]:
self.fill_pkgdeps(prj, 'standard', arch)
if prj == '{}:1-MinimalX'.format(self.api.crings): if prj == '{}:1-MinimalX'.format(self.api.crings):
url = makeurl(self.api.apiurl, ['build', prj, 'images', 'x86_64', 'Test-DVD-x86_64', '_buildinfo']) url = makeurl(self.api.apiurl, ['build', prj, 'images', 'x86_64', 'Test-DVD-' + arch, '_buildinfo'])
root = ET.parse(http_GET(url)).getroot() root = ET.parse(http_GET(url)).getroot()
for bdep in root.findall('bdep'): for bdep in root.findall('bdep'):
if 'name' not in bdep.attrib: if 'name' not in bdep.attrib:
continue continue
b = bdep.attrib['name'] b = bdep.attrib['name']
if b not in self.bin2src: if b not in self.bin2src:
continue continue
b = self.bin2src[b] b = self.bin2src[b]
self.pkgdeps[b] = 'MYdvd' self.pkgdeps[b] = 'MYdvd'
if prj == '{}:2-TestDVD'.format(self.api.crings): if prj == '{}:2-TestDVD'.format(self.api.crings):
url = makeurl(self.api.apiurl, ['build', prj, 'images', 'x86_64', 'Test-DVD-x86_64', '_buildinfo']) url = makeurl(self.api.apiurl, ['build', prj, 'images', 'x86_64', 'Test-DVD-' + arch, '_buildinfo'])
root = ET.parse(http_GET(url)).getroot() root = ET.parse(http_GET(url)).getroot()
for bdep in root.findall('bdep'): for bdep in root.findall('bdep'):
if 'name' not in bdep.attrib: if 'name' not in bdep.attrib:
continue continue
b = bdep.attrib['name'] b = bdep.attrib['name']
if b not in self.bin2src: if b not in self.bin2src:
continue continue
b = self.bin2src[b] b = self.bin2src[b]
self.pkgdeps[b] = 'MYdvd2' self.pkgdeps[b] = 'MYdvd2'
if prj == '{}:0-Bootstrap'.format(self.api.crings): if prj == '{}:0-Bootstrap'.format(self.api.crings):
url = makeurl(self.api.apiurl, ['build', prj, 'standard', '_buildconfig']) url = makeurl(self.api.apiurl, ['build', prj, 'standard', '_buildconfig'])