Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   don't include s390 packages when composing s390x image (http://www.linux-archive.org/fedora-build-system/560072-dont-include-s390-packages-when-composing-s390x-image.html)

Dan Horák 08-03-2011 08:15 AM

don't include s390 packages when composing s390x image
 
---
src/pypungi/__init__.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py
index 72759a3..4769427 100644
--- a/src/pypungi/__init__.py
+++ b/src/pypungi/__init__.py
@@ -238,9 +238,9 @@ class Pungi(pypungi.PungiBase):

self.ayum.compatarch = yumarch
# Filter out all the multilib arches, anaconda won't use them.
- # only makes sense on x86_64
+ # only makes sense on x86_64 and s390x
full_archlist = set(yum.rpmUtils.arch.getArchList(yumarch))
- if arch == 'x86_64':
+ if arch in ['x86_64', 's390x']:
compat_archinfo = yum.rpmUtils.arch.getMultiArchInfo(yumarch)
compat_archlist = set(yum.rpmUtils.arch.getArchList(compat_archinfo[0]))
newarchlist = list(full_archlist.difference(compat_archlist))
--
1.7.4.4

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


All times are GMT. The time now is 05:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.