|
From: | Voelker, Bernhard |
Subject: | bug#13001: Reporting potential bug | uname -p and uname -i return unknown on Debian |
Date: | Mon, 26 Nov 2012 18:41:32 +0000 |
Mike Frysinger wrote: > this is because many distros patch coreutils' uname to return > something useful on Linux. the GNU version relies on the standard > interfaces to do that (which they don't). > > you can find the patch i've been keeping up-to-date in Gentoo: > http://sources.gentoo.org/gentoo/src/patchsets/coreutils/8.20/003_all_coreutils-gentoo-uname.patch For reference, here's the downstream patch of openSuSE: https://build.opensuse.org/package/view_file?expand=1&file=coreutils-sysinfo.patch&package=coreutils&project=openSUSE&rev=f0bf5d8bafd85e9efef6ccb334c83a53 It's not as sophisticated as the patch in Gentoo and mostly uses a fallback to the value of 'uname -m': $ uname -mpi x86_64 x86_64 x86_64 Have a nice day, Berny
[Prev in Thread] | Current Thread | [Next in Thread] |