aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:54:04 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:54:04 +0000
commita1b3cacd7975f74a75be85e6a38e362b9ff5509e (patch)
treeecb7ab92132882854593132fe75e9bbb333e4bae /lib
parent2ef96df734e31c5af9057d5288d55c0bdc10232e (diff)
downloadiurt-a1b3cacd7975f74a75be85e6a38e362b9ff5509e.tar
iurt-a1b3cacd7975f74a75be85e6a38e362b9ff5509e.tar.gz
iurt-a1b3cacd7975f74a75be85e6a38e362b9ff5509e.tar.bz2
iurt-a1b3cacd7975f74a75be85e6a38e362b9ff5509e.tar.xz
iurt-a1b3cacd7975f74a75be85e6a38e362b9ff5509e.zip
(update_chroot) kill unused function
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Chroot.pm23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 3d13c28..98e04e0 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -124,28 +124,6 @@ sub clean_chroot {
1;
}
-=head2 update_chroot($chroot, $run, $only_clean)
-
-Updates chroot
-I<$chroot> chroot path
-I<$run> is the running environment
-I<%only_clean> only clean the chroot, do not create a new one
-Return true.
-
-IT NEVER ACTUALLY PERFORMED ANYTHING
-
-=cut
-
-sub update_chroot {
- my ($_chroot, $_chroot_tar, $_run) = @_;
-
- plog('DEBUG', "update chroot");
-
-# my $urpmi = $run->{urpmi};
-# $urpmi->auto_select($chroot);
-
-}
-
sub dump_rpmmacros {
my ($run, $config, $file) = @_;
my $f;
@@ -210,7 +188,6 @@ sub create_temp_chroot {
plog("Install new chroot");
plog('DEBUG', "... in $chroot_tmp");
clean_chroot($chroot_tmp, $chroot_tar, $run, $config) or return;
- update_chroot($chroot_tmp, $run, $config);
$chroot_tmp;
}