Add support for the ppc64le architecture in pungi.
--- src/pypungi/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index e719f1a..3d29a77 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -1302,6 +1302,9 @@ class Pungi(pypungi.PungiBase): if self.tree_arch == 'ppc64': self.ayum.arch.setup_arch('ppc64') self.ayum.compatarch = 'ppc64' + elif self.tree_arch == 'ppc64le': + self.ayum.arch.setup_arch('ppc64le') + self.ayum.compatarch = 'ppc64le'
# Only supported mac hardware is x86 make sure we only enable mac support on arches that need it if self.tree_arch in ['x86_64']: @@ -1354,7 +1357,7 @@ class Pungi(pypungi.PungiBase): os.path.walk(os.path.join(self.topdir, 'images'), getsum, self.topdir + '/')
# Capture PPC images - if self.tree_arch in ['ppc', 'ppc64']: + if self.tree_arch in ['ppc', 'ppc64', 'ppc64le']: os.path.walk(os.path.join(self.topdir, 'ppc'), getsum, self.topdir + '/')
# Get a checksum of repomd.xml since it has within it sums for other files
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 25 Mar 2014 15:35:40 -0500 Mark Hamzy hamzy@us.ibm.com wrote:
Add support for the ppc64le architecture in pungi.
src/pypungi/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index e719f1a..3d29a77 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -1302,6 +1302,9 @@ class Pungi(pypungi.PungiBase): if self.tree_arch == 'ppc64': self.ayum.arch.setup_arch('ppc64') self.ayum.compatarch = 'ppc64'
elif self.tree_arch == 'ppc64le':
self.ayum.arch.setup_arch('ppc64le')
self.ayum.compatarch = 'ppc64le' # Only supported mac hardware is x86 make sure we only
enable mac support on arches that need it if self.tree_arch in ['x86_64']: @@ -1354,7 +1357,7 @@ class Pungi(pypungi.PungiBase): os.path.walk(os.path.join(self.topdir, 'images'), getsum, self.topdir + '/') # Capture PPC images
if self.tree_arch in ['ppc', 'ppc64']:
if self.tree_arch in ['ppc', 'ppc64', 'ppc64le']: os.path.walk(os.path.join(self.topdir, 'ppc'), getsum,
self.topdir + '/') # Get a checksum of repomd.xml since it has within it sums for other files
applied thanks
buildsys@lists.fedoraproject.org