guysoft / CustomPiOS

A Raspberry Pi and other ARM devices distribution builder
GNU General Public License v3.0
508 stars 146 forks source link

replace arch with uname -m #184

Closed bwalex closed 1 year ago

bwalex commented 1 year ago

The arch command isn't particularly well standardized compared to uname -m. For example, coreutils on Archlinux doesn't provide it, and it's generally not recommended to rely on it.

See e.g. https://www.gnu.org/software/coreutils/manual/html_node/arch-invocation.html:

arch is not installed by default, so portable scripts should not rely on its existence.

guysoft commented 1 year ago

Thanks for your contribution