aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Chroot.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 8d7fcd3..27f76c8 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -307,14 +307,6 @@ sub create_build_chroot {
$ret = create_build_chroot_tar($chroot, $chroot_ref, $run, $config);
}
- if ($ret) {
- my $urpmi = $run->{urpmi};
- if (!$urpmi->add_media__urpmi_root($chroot, $config->{base_media})) {
- plog('ERROR', "urpmi.addmedia --urpmi-root failed");
- return;
- }
- }
-
if ($ret && $use_netns) {
sudo($config, '--netns_create', $chroot);
}