rawhide report: 20050205 changes

Bill Rugolsky Jr. brugolsky at telemetry-investments.com
Tue Feb 8 15:39:29 UTC 2005


On Tue, Feb 08, 2005 at 09:45:42AM +0100, Arjan van de Ven wrote:
> those scripts are really broken anyway if they do that. uname is NOT the way
> to get the rpm architecture of the kernel, you HAVE to use 
> rpm -q --queryformat %{ARCH} kernel-`uname -r`
 
To handle kernel-smp and other variants, perhaps that ought to be:

rpm -qf --queryformat '%{ARCH}' /lib/modules/`uname -r`

Regards,

	Bill Rugolsky




More information about the fedora-devel-list mailing list