Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uname fails when running install_deb.sh #382

Closed
mzpqnxow opened this issue Oct 23, 2023 · 1 comment
Closed

Uname fails when running install_deb.sh #382

mzpqnxow opened this issue Oct 23, 2023 · 1 comment

Comments

@mzpqnxow
Copy link
Contributor

See PR #381

Seems that the non-portable -p option doesn't work on my x86_64 Bullseye machine, so I get:

11:25:32 › ./install_deb.sh 
This script only supports x86_64 and aarch64
11:24:54 › uname --help
Usage: uname [OPTION]...
Print certain system information.  With no OPTION, same as -s.

  -a, --all                print all information, in the following order,
                             except omit -p and -i if unknown:
  -s, --kernel-name        print the kernel name
  -n, --nodename           print the network node hostname
  -r, --kernel-release     print the kernel release
  -v, --kernel-version     print the kernel version
  -m, --machine            print the machine hardware name
  -p, --processor          print the processor type (non-portable)
  -i, --hardware-platform  print the hardware platform (non-portable)

Switching from using -p to -m gives the expected output (x86_64)

@emil916
Copy link
Contributor

emil916 commented Oct 23, 2023

Echoing the comment I wrote in the PR:

Wow! You are absolutely right! I guess we never really tested on other distros, mainly on Ubuntu LTSs with x86 and ARM.
Thank you for the fix! Merging...

@emil916 emil916 closed this as completed Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants