[PATCH] support ppc64le in pungi

Dennis Gilmore dennis at ausil.us
Tue Apr 29 18:31:08 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 25 Mar 2014 15:35:40 -0500
Mark Hamzy <hamzy at 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJTX+/2AAoJEH7ltONmPFDRHbkP/2ykfiR7/fFC0I5sq9Sm0mbv
tAbxtZrjnKXXcl2EBKg61nmIEclyaWxE7i9GoMVG74MQpNDjUlJDV1d/eznjpYqZ
sz3Gpkb42MQRkgUwBs3B9IymJuacmwno3vRi4qQBCIBw6KiGQmvyRmQnobImZDke
eZ4nKQdFJ+RRzna4N84yzcrtBR9gRrfhwkd59hlZk6FwLE5q/5Ccd67lGUNeciZh
YFjWPfZNRef6FxjN2guyfh/S9lzqvyPAmQB58+3SSI1L7x3eaeyjPQf0u8EcLGgd
ZqIVwjx+L6mBUqc7J3Lg/TWP7fndlp5EfyhCm/A3Ib18yTgvMClx2OUTCBF6j5tC
cCIM7qrj12ieJn3jTufr2ioich5AjPZnmMz/pcx6AuaeNFlsUvmijTOYbVa5pWdm
otrPxK0Yx1O6qFaKChD0Bb4TLIRRnkAel1hUmUnkqL2UZgZylKCqwnaR1fmbD3E5
RXBzOhE98CF2xZ/wF+zOOUCEdfY6iHF0tZ8sl0nPAaqq2vXoF/rrUdMh0LNNb47W
EVHe6HNIZ0P8Cty1GGcvx6v9pWLirO2t4EJlKUTWc691jqnjNZFJ+9X5VxNgxM+/
ARVpaGCn9O95wzP9QMCxFrGPBeK7HPYtgqbzFGupsIjP9z/5hwDGrOEDqlOZ1tbX
srDuWbI3nCqikFHpKt8R
=YqmE
-----END PGP SIGNATURE-----


More information about the buildsys mailing list