Jeremy,

the support for parted 1.7.x has been added in the trunk (follow
instructions here http://svn.sisuite.org/ if you want to download the
source code). The fix will be available in the next release or if you
want to fix the code on-the-fly the patch is the following.

Best regards,
-Andrea

Index: lib/SystemImager/Common.pm
===================================================================
--- lib/SystemImager/Common.pm  (revision 3767)
+++ lib/SystemImager/Common.pm  (revision 3768)
@@ -420,6 +420,7 @@
             # Add partition info to autoinstallscript.conf file. -BEF-
             #
             foreach (@partition_tool_output) {
+                $_ =~ s/^ +//;
             
                 # If we're looking at a line of info for a partition, process 
into generic
                 # output. -BEF-
@@ -1069,7 +1070,9 @@
          if (/Disk label type:/) {
            (my $Disk, my $label, my $type, $label_type) = split;
             $label_type = lc $label_type;
-         }
+          } elsif (/^Partition Table: (.*)$/) {
+            $label_type = lc $1;
+          }
        }
       close (TMP);
 
Jeremy wrote:
> 
> 
> On 10/15/06 9:25 AM, "Andrea Righi" <[EMAIL PROTECTED]> wrote:
> 
>> Jeremy wrote:
>>> [EMAIL PROTECTED] ~]# parted -s -- /dev/sda print
>>>
>>> Disk /dev/sda: 80.0GB
>>> Sector size (logical/physical): 512B/512B
>>> Partition Table: msdos
>> This should be:
>>
>> Disk label type: msdos
>>
>> which version of parted are you using? (parted --version)
> 
> [EMAIL PROTECTED] ~]# parted --version
> GNU Parted 1.7.1
> 
> Do you have a recommended version?
> 
> -jeremy
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to