diff options
author | Florent Villard <warly@mandriva.com> | 2006-10-24 12:45:35 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2006-10-24 12:45:35 +0000 |
commit | b88a0e5104d2c7e997018feb7d2ce30700205118 (patch) | |
tree | ac99733c283674314a98ea9a235ab47ed11ee049 /iurt2 | |
parent | 3da90b377bdb3b3e29208bc9a9d4d3790c3aac65 (diff) | |
download | iurt-b88a0e5104d2c7e997018feb7d2ce30700205118.tar iurt-b88a0e5104d2c7e997018feb7d2ce30700205118.tar.gz iurt-b88a0e5104d2c7e997018feb7d2ce30700205118.tar.bz2 iurt-b88a0e5104d2c7e997018feb7d2ce30700205118.tar.xz iurt-b88a0e5104d2c7e997018feb7d2ce30700205118.zip |
add media in the chroot by default
Diffstat (limited to 'iurt2')
-rwxr-xr-x | iurt2 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -460,7 +460,8 @@ if ($df->{per} >= 99) { if ($run{shell}) { ($union_id, my $chroot_tmp) = create_temp_chroot(\%run, $config, $cache, $union_id, $chroot_tmp, $chroot_tar) or die "FATAL $program_name: could not create temporary chroot"; add_local_user($chroot_tmp, \%run, $config, $luser, $run{uid}) or die "FATAL $program_name: could not add local user"; - $urpmi->set_command($chroot_tmp); + #$urpmi->set_command($chroot_tmp); + $urpmi->urpmi_command($chroot_tmp, $luser); $urpmi->install_packages('chroot', $chroot_tmp, $local_spool, \%pack_provide, 'configure', "[ADMIN] installation of urpmi and sudo failed in the chroot $run{my_arch}", { check => 1, maintainer => $config->{admin} }, 'urpmi', 'sudo') or die "FATAL $program_name: could not add urpmi and sudo in the chroot"; add_sudoers(\%run, $chroot_tmp, $luser); if ($run{shell}) { |