[PATCH 3/3] Tell python-meh architecture of the anaconda package
Dennis Gilmore
dennis at ausil.us
Sat Apr 6 16:11:39 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 3 Apr 2013 13:13:53 +0200
Vratislav Podzimek <vpodzime at redhat.com> wrote:
> I believe it's safe to use uname as we will hardly ever run x86
> anaconda on x86_64 kernel.
>
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
> pyanaconda/exception.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
> index cfb84ed..5a9c816 100644
> --- a/pyanaconda/exception.py
> +++ b/pyanaconda/exception.py
> @@ -166,6 +166,7 @@ def initExceptionHandling(anaconda):
>
> conf = Config(programName="anaconda",
> programVersion=isys.getAnacondaVersion(),
> + programArch=os.uname()[4],
> attrSkipList=["_intf._actions",
> "_intf._currentAction._xklwrapper",
> "_intf._currentAction.language.translations",
this wont work for arm,
uname -m will give you armv7l but the rpm arch is armv7hl maybe not a
huge deal since we are not supporting armv7l going forward
Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iEYEARECAAYFAlFgSUIACgkQkSxm47BaWfdffgCfZIDOY1rda24pRc0+qFvFcLMh
ZC0AnjIezxHA+nkvvcrXdqiObPN41eMU
=V8pH
-----END PGP SIGNATURE-----
More information about the anaconda-patches
mailing list