/[soft]/build_system/iurt/trunk/lib/Iurt/Urpmi.pm
ViewVC logotype

Diff of /build_system/iurt/trunk/lib/Iurt/Urpmi.pm

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

revision 127 by blino, Thu Nov 4 22:07:04 2010 UTC revision 128 by blino, Tue Nov 23 23:36:41 2010 UTC
# Line 215  sub add_media { Line 215  sub add_media {
215    
216      plog("add chroot media: $run->{chrooted_media}");      plog("add chroot media: $run->{chrooted_media}");
217    
218      if (!perform_command("sudo chroot $chroot urpmi.addmedia $media",      if (!perform_command("urpmi-addmedia $media",
219                  $run, $config, $cache,                  $run, $config, $cache,
220                  mail => $config->{admin},                  mail => $config->{admin},
221                  timeout => 300,                  timeout => 300,
222                  freq => 1,                  freq => 1,
223                  retry => 2,                  retry => 2,
224                    use_iurt_root_command => 1,
225                  debug_mail => $run->{debug})) {                  debug_mail => $run->{debug})) {
226          }          }
227      if (!check_media_added($chroot, $regexp)) {      if (!check_media_added($chroot, $regexp)) {

Legend:
Removed from v.127  
changed lines
  Added in v.128

  ViewVC Help
Powered by ViewVC 1.1.30