r614 - x86/trunk/uname

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Mon Sep 5 13:09:56 PDT 2005


Author: jhuntwork
Date: 2005-09-05 14:09:44 -0600 (Mon, 05 Sep 2005)
New Revision: 614

Modified:
   x86/trunk/uname/uname
Log:
Updated uname wrapper capacity

Modified: x86/trunk/uname/uname
===================================================================
--- x86/trunk/uname/uname	2005-09-05 19:44:38 UTC (rev 613)
+++ x86/trunk/uname/uname	2005-09-05 20:09:44 UTC (rev 614)
@@ -7,4 +7,8 @@
 	REAL="uname.real"
 fi
 
-$REAL "$@" | sed 's/[56]86/486/'
+if echo `$REAL -m` | grep -q "i*86" ; then
+	$REAL "$@" | sed 's/[56]86/486/'
+elif echo `$REAL -m` | grep -q "sparc" ; then
+	$REAL "$@" | sed 's/sparc64/sparc/'
+fi




More information about the livecd mailing list