Bug#250866: ddetect: archdetect outputs the cpu type instead of the architecture
Package: ddetect
Severity: normal
The archdetect binary outputs CPU_TEXT as set in the Makefile.
The Makefile uses
CFLAGS = -Wall -O2 -g --std=c99 -DARCH=$(DEB_HOST_ARCH) -DCPU=$(DEB_HOST_GNU_CPU) -DCPU_TEXT='"$(DEB_HOST_GNU_CPU)"' -DSYSTEM=$(DEB_HOST_GNU_SYSTEM)
On amd64 there is a difference between the cpu (x86_64) and the arch (amd64)
and archdetect outputs x86_64/generic instead of amd64/generic. This causes
partman to not recognise that msdos style partitions should be used and
breaks the partitioning and the rest of the installation.
MfG
Goswin
-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=C
Reply to: