| |
@@ -11,7 +11,7 @@
|
| |
|
| |
|
| |
def run_abipkgdiff(koji_build, stable_rpmsdir, update_rpmsdir,
|
| |
- arches=('x86_64', 'i686', 'armv7hl'), artifactsdir='artifacts'):
|
| |
+ arches=('x86_64', 'i686', 'armv7hl', 'ppc64le', 'ppc64', 'aarch64'), artifactsdir='artifacts'):
|
| |
# Create artifacts directory if doesn't exist
|
| |
process_start_time = time.time()
|
| |
if not os.path.exists(artifactsdir):
|
| |
@@ -60,7 +60,9 @@
|
| |
|
| |
# Get debuginfo rpm for specified architecture
|
| |
for rpm in os.listdir(stable_rpmsdir):
|
| |
- if arch in rpm:
|
| |
+ # dot(.) is needed during search to avoid getting result from ppc64le
|
| |
+ # arch while searching fro ppc64
|
| |
+ if (arch + ".") in rpm:
|
| |
if 'debuginfo' in rpm:
|
| |
stable_debuginfo_rpm.append(rpm)
|
| |
else:
|
| |
@@ -76,7 +78,9 @@
|
| |
abipkgdiff on them
|
| |
'''
|
| |
for rpm in os.listdir(update_rpmsdir):
|
| |
- if arch in rpm:
|
| |
+ if (arch + ".") in rpm:
|
| |
+ # dot(.) is needed during search to avoid getting result from ppc64le
|
| |
+ # arch while searching fro ppc64
|
| |
if 'debuginfo' in rpm:
|
| |
update_debuginfo_rpm.append(rpm)
|
| |
else:
|
| |
@@ -113,8 +117,9 @@
|
| |
|
| |
for update_rpm in update_rpms_detail:
|
| |
for stable_rpm in stable_rpms_detail:
|
| |
- if stable_rpm['name'] != update_rpm['name']:
|
| |
- continue
|
| |
+ if (stable_rpm['name'] != update_rpm['name']) or \
|
| |
+ (stable_rpm['arch'] != update_rpm['arch']):
|
| |
+ continue
|
| |
update_rpms.remove(update_rpm['rpm'])
|
| |
stable_rpms.remove(stable_rpm['rpm'])
|
| |
|
| |
Since Fedora 26, primary koji also builds a package for
ppc64, ppc64le and aarch64 arches. It is possible to
ask taskotron to extend an abicheck task run for these
arches