summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-09 10:25:47 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-09 10:25:47 +0000
commitcc636c51a74a9c24a157f379e3810034cf44879a (patch)
treec304238a28fa9f15d3c834fbc07397cd8272f7a2 /perl-install/install
parent4c24c974ac498f93bea58337ca88460eedc35438 (diff)
downloaddrakx-cc636c51a74a9c24a157f379e3810034cf44879a.tar
drakx-cc636c51a74a9c24a157f379e3810034cf44879a.tar.gz
drakx-cc636c51a74a9c24a157f379e3810034cf44879a.tar.bz2
drakx-cc636c51a74a9c24a157f379e3810034cf44879a.tar.xz
drakx-cc636c51a74a9c24a157f379e3810034cf44879a.zip
(_install_urpmi__generate_names,_install_urpmi__generate_synthesis)
drop them, uneeded
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/media.pm28
1 files changed, 0 insertions, 28 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index 7392bc6db..7ec5085ac 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -885,31 +885,6 @@ sub copy_rpms_on_disk {
our $copied_rpms_on_disk = 1;
}
-sub _install_urpmi__generate_names {
- my ($packages, $medium) = @_;
-
- #- build a names file
- output("$::prefix/var/lib/urpmi/names.$medium->{fakemedium}",
- map { $packages->{depslist}[$_]->name . "\n" } $medium->{start} .. $medium->{end});
-}
-sub _install_urpmi__generate_synthesis {
- my ($packages, $medium) = @_;
-
- my $synthesis = "/var/lib/urpmi/synthesis.hdlist.$medium->{fakemedium}.cz";
-
- #- build synthesis file if there are still not existing (ie not copied from mirror).
- -s "$::prefix$synthesis" <= 32 or return;
-
- log::l("building $synthesis");
-
- eval { $packages->build_synthesis(
- start => $medium->{start},
- end => $medium->{end},
- synthesis => "$::prefix$synthesis",
- ) };
- $@ and log::l("build_synthesis failed: $@");
-}
-
sub install_urpmi {
my ($stage2_method, $packages) = @_;
@@ -949,9 +924,6 @@ sub install_urpmi {
$dir = MDK::Common::File::concat_symlink($dir, $medium->{rpmsdir});
- _install_urpmi__generate_names($packages, $medium);
- _install_urpmi__generate_synthesis($packages, $medium);
-
my ($qname, $qdir) = ($medium->{fakemedium}, $dir);
if (my $u = urpm::download::parse_url_with_login($qdir)) {