diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-24 15:54:04 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-24 15:54:04 +0000 |
commit | a1b3cacd7975f74a75be85e6a38e362b9ff5509e (patch) | |
tree | ecb7ab92132882854593132fe75e9bbb333e4bae /lib | |
parent | 2ef96df734e31c5af9057d5288d55c0bdc10232e (diff) | |
download | iurt-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.pm | 23 |
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; } |