/[fai]/people/michael/features/setup_harddisks_2/implementation/lib/commands.pm
ViewVC logotype

Diff of /people/michael/features/setup_harddisks_2/implementation/lib/commands.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3669 by michael-guest, Sun Jul 23 20:05:49 2006 UTC revision 3670 by michael-guest, Sun Jul 23 20:22:23 2006 UTC
# Line 108  sub build_commands Line 108  sub build_commands
108          else          else
109          {          {
110            push @FAI::commands,            push @FAI::commands,
111              "$FAI::bash_commands{'parted'} $disk mklabel $target_label";              "$FAI::system_commands{'parted'} $disk mklabel $target_label";
112          }          }
113        }        }
114        else        else
# Line 122  sub build_commands Line 122  sub build_commands
122              next;              next;
123            }            }
124            push @FAI::commands,            push @FAI::commands,
125              "$FAI::bash_commands{'parted'} $disk rm $part_id";              "$FAI::system_commands{'parted'} $disk rm $part_id";
126          }          }
127        }        }
128    
# Line 166  sub build_commands Line 166  sub build_commands
166              $FAI::configs{$config}{"partitions"}{"size"}{"eff_size"} +              $FAI::configs{$config}{"partitions"}{"size"}{"eff_size"} +
167              $next_start - 1;              $next_start - 1;
168            push @FAI::commands,            push @FAI::commands,
169              "$FAI::bash_commands{'parted'} $disk resize $part_id $next_start"              "$FAI::system_commands{'parted'} $disk resize $part_id $next_start"
170              . "B "              . "B "
171              . $part_size . "B";              . $part_size . "B";
172            unless ( $FAI::configs{$config}{"disklabel"} eq "msdos"            unless ( $FAI::configs{$config}{"disklabel"} eq "msdos"
# Line 195  sub build_commands Line 195  sub build_commands
195              $FAI::configs{$config}{"partitions"}{$part_id}{"size"}{"eff_size"} +              $FAI::configs{$config}{"partitions"}{$part_id}{"size"}{"eff_size"} +
196              $next_start - 1;              $next_start - 1;
197            push @FAI::commands,            push @FAI::commands,
198              "$FAI::bash_commands{'parted'} $disk mkpart $part_type $next_start"              "$FAI::system_commands{'parted'} $disk mkpart $part_type $next_start"
199              . "B "              . "B "
200              . $part_size . "B";              . $part_size . "B";
201            unless ( $FAI::configs{$config}{"disklabel"} eq "msdos"            unless ( $FAI::configs{$config}{"disklabel"} eq "msdos"

Legend:
Removed from v.3669  
changed lines
  Added in v.3670

  ViewVC Help
Powered by ViewVC 1.1.5