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