On 4/25/23 17:56, Todd Zullinger wrote:
Jeffrey Walton wrote:
On Tue, Apr 25, 2023 at 5:18 PM Todd Zullinger <t...@pobox.com> wrote:
A non-upstream patch was removed¹, which had kept the
long-deprecated uname -i and -p options.

¹ https://src.fedoraproject.org/rpms/coreutils/c/cd953e1
uname (1) says -i and -p are valid options:

        -p, --processor
               print the processor type (non-portable)

        -i, --hardware-platform
               print the hardware platform (non-portable)
They are valid options, but there is no longer a Fedora
patch which made them report the same as `uname -m`.  They
now report 'unknown' which isn't terribly useful.

The solution is use `uname -m` (which has been the ideal
option to use for some time -- it's only now exposed to
Fedora users, who had been getting a downstream patch).

An alternative to that, if you have to change your scripts, is to use the "arch" command:

$ arch
x86_64

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to