diff options
Diffstat (limited to 'lib/Iurt')
-rw-r--r-- | lib/Iurt/Chroot.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 0d23fe0..1bf019e 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -416,8 +416,10 @@ sub build_chroot { plog('ERROR', "urpmi.addmedia --urpmi-root failed"); return 0; } + $urpmi->set_command__urpmi_root($tmp_chroot); + } else { + $urpmi->set_command__use_distrib($tmp_chroot); } - $urpmi->set_command($tmp_chroot); # (blino) install meta-task first for prefer.vendor.list to be used foreach my $packages ([ 'meta-task' ], $config->{basesystem_packages}) { |