[PATCH 2/2] add initial spport for aarch64 as we only plan to support UEFI this should be enough
Dennis Gilmore
dennis at ausil.us
Tue Oct 22 21:24:43 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
El Tue, 22 Oct 2013 09:44:44 +0200
Vratislav Podzimek <vpodzime at redhat.com> escribió:
> On Mon, 2013-10-21 at 17:07 -0500, Dennis Gilmore wrote:
> > Signed-off-by: Dennis Gilmore <dennis at ausil.us>
> > ---
> > blivet/arch.py | 10 ++++++++++
> > blivet/platform.py | 2 ++
> > 2 files changed, 12 insertions(+)
> >
> > diff --git a/blivet/arch.py b/blivet/arch.py
> > index cbbf5e6..b16b3fc 100644
> > --- a/blivet/arch.py
> > +++ b/blivet/arch.py
> > @@ -162,6 +162,14 @@ def getPPCMacBook():
> >
> > return False
> >
> > +def isAARCH64():
> > + """
> > + :return: True if the hardware supports Aarch64, False
> > otherwise.
> > + :rtype: boolean
> > +
> > + """
> > + return os.uname()[4] == 'aarch64'
> > +
> > def getARMMachine():
> > """
> > :return: The ARM processor variety type, or None if not ARM.
> > @@ -325,6 +333,8 @@ def getArch():
> > return 'ppc'
> > elif isPPC(bits=64):
> > return 'ppc64'
> > + elif arch.isAARCH64():
> > + return 'aarch64'
> > elif isAlpha():
> > return 'alpha'
> > elif isARM():
> > diff --git a/blivet/platform.py b/blivet/platform.py
> > index 185d82e..87dcdd3 100644
> > --- a/blivet/platform.py
> > +++ b/blivet/platform.py
> > @@ -381,6 +381,8 @@ def getPlatform():
> > return EFI()
> > elif arch.isX86():
> > return X86()
> > + elif arch.isAARCH64():
> > + return EFI()
> > elif arch.isARM():
> > armMachine = arch.getARMMachine()
> > if armMachine == "omap":
> Pushed to master. Do you want it to be pushed to the f20-branch as
> well?
>
It wouldn't hurt but is not really a target, we are getting ready to
start getting rawhide built in koji and are targeting a f21 release.
Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBAgAGBQJSZu0vAAoJEH7ltONmPFDRipkQAJz4Suo5Eqex5QTmfmi1z3pN
OxieTxuvFdI5jnVCB4hEArqJEPdiSHNGcNzdGqsXx/ui08G8RAMzUF6zpKa4BSDE
2uSIFWUgrlampDqbgwN/frOtEhDN2ahbk4VHE8m0SRAuOWZNr0Z94ZGXZDPMVEsO
U5kV0LDluBJii4tDh2zyJ5X2PDnNehyaoKso2ogog08cpn6QG2G4jyMqrR6Rg+5N
0KtQADsxMJRHlv5IwfiUUbW2NYnEB/YH1zg09OM2CuG2vKv6wy9X16M8F7w+3/uE
0r8+xD6lzMr094rJ1wVSkW/faJj4HFwZ9WGmq7HxoAkrxYpsFQvp5+PU+zF6nE46
BSuolKlOefoWHlW8J0IIG0ltJ36wII+GmiruJXX7xGSEOAIoNRsn1SHthwzREGIl
UEwAegmvme/FT6hxxgHiGMCtCchLawRhsIa1uZvJSC2k4WOtC3G76btAfdFBFsWj
WBGjzh0uqehNannwD04PPuoR3e0Gyu/ePmItFeqQE76PZDAdV6Lya7zkjqmNawP5
Sh776shjNr8z1Tl4PaIozdKYaCzBS4rM8pEksZMl2ebdgZiV7tXCv04V7SZRigME
ea9vcgjWSrH4i4k0NcwC8mzOV+WNkUc0Xw0k8FpGVRDQzcWzIxypfIeCj8LkyngH
dA7aFNFfgoX9o/9bQvTt
=0PLv
-----END PGP SIGNATURE-----
More information about the anaconda-patches
mailing list