thopiekar / rcraid-dkms

AMD RAIDXpert driver as DKMS package
Other
126 stars 27 forks source link

Changed uname flag from -i to -m #16

Closed misiektw closed 4 years ago

misiektw commented 4 years ago

$PLATFORM should be x86_64 or i386 for correct rcblob file. But on most distros 'uname -i' returns "unknown". Meanwhile 'uname -m' almost always returns correct string. sources: Man page says '-i' flag is ambiguous, it can return "hardware platform or "unknown"". https://linux.die.net/man/1/uname Wiki uname page list very few systems returning correct string (f.e..Ubuntu): https://en.wikipedia.org/wiki/Uname

Also I just checked Debian, Arch, Manjaro and they all return "unknown". Slackware returns processor type "GenuineIntel".

thopiekar commented 4 years ago

Alright! Thank you for the great docs and your work! :+1: