Package: systeminstaller Version: 1.04-2 Severity: important # mksidisk -A --name node --file /etc/dcc/disktable -v 2005-2-29 16:55:50 [main :: Line 194] Parsing options. 2005-2-29 16:55:50 [main :: Line 81] Checking for existing image. 2005-2-29 16:55:50 [main :: Line 94] Opening partition file. 2005-2-29 16:55:50 [main :: Line 105] Parsing partition information. 2005-2-29 16:55:50 [main :: Line 118] Performing partition set up. 2005-2-29 16:55:50 [SystemInstaller::Partition :: Line 271] Determining which routine to call based on architecture. SIS::Image=HASH(0xa40370)->arch is not a recognized architecture Partition setup failed! at /usr/bin/mksidisk line 119
The patch adds x86_64 to the list of known architectures and fixes the error output. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.8-10-amd64-k8-smp Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages systeminstaller depends on: ii libappconfig-perl 1.56-2 Perl module for configuration file ii libmldbm-perl 2.01-1 Store multidimensional hash struct ii perl 5.8.4-8 Larry Wall's Practical Extraction ii perl-tk 1:800.025-2 Perl module providing the Tk graph ii rpm 4.0.4-31 Red Hat package manager ii systemconfigurator 2.0.10-1 Unified Configuration API for Linu ii systemimager-server 3.2.3-6 Automate GNU/Linux installs and up -- no debconf information
--- Partition.pm.dist 2005-03-29 16:57:23.623039776 +0200 +++ Partition.pm 2005-03-29 16:57:51.079354745 +0200 @@ -269,7 +269,7 @@ } &verbose("Determining which routine to call based on architecture."); - if ($image->arch =~ /^(i.86|ia64)$/) { + if ($image->arch =~ /^(i.86|ia64|x86_64)$/) { if (&SystemInstaller::Partition::IA::create_partition_file($image->location,%DISKS)) { return 1; } @@ -278,7 +278,7 @@ return 1; } } else { - print STDERR "$image->arch is not a recognized architecture\n"; + print STDERR $image->arch . " is not a recognized architecture\n"; return 1; } &verbose("Writing updateclient exclude file");