Bug#227851: udpkg: [PATCH] wrong architecture for sparc64
Package: udpkg
Severity: normal
Hi, udpkg --print-architecture reports sparc64 for UltraSparc; it needs
to report sparc instead.
here is a small patch which corrects that. It was tested.
Thanks.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux thomas 2.4.24-1-k7 #1 Wed Jan 7 00:47:47 EST 2004 i686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro
--
Thomas Poindessous
Index: tools/udpkg/udpkg.c
===================================================================
RCS file: /cvsroot/d-i/debian-installer/tools/udpkg/udpkg.c,v
retrieving revision 1.45
diff -u -r1.45 udpkg.c
--- tools/udpkg/udpkg.c 13 Dec 2003 00:17:49 -0000 1.45
+++ tools/udpkg/udpkg.c 14 Jan 2004 23:54:02 -0000
@@ -62,6 +62,7 @@
{ "parisc64", "hppa" },
{ "ppc", "powerpc" },
{ "ppc64", "powerpc" },
+ { "sparc64", "sparc" },
};
if (uname(&name) < 0)
Reply to: