aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-04-03 23:01:59 +0000
committerPascal Terjan <pterjan@mageia.org>2012-04-03 23:01:59 +0000
commit0bc3c7920fb35e22870142ceffdce65458f3b133 (patch)
tree57bff2a4957b943f83c51c6852b0e9bdca25e74d /lib
parenta0444be1ed4c2ff2bc1a2f856e951e4842f0276f (diff)
downloadiurt-0bc3c7920fb35e22870142ceffdce65458f3b133.tar
iurt-0bc3c7920fb35e22870142ceffdce65458f3b133.tar.gz
iurt-0bc3c7920fb35e22870142ceffdce65458f3b133.tar.bz2
iurt-0bc3c7920fb35e22870142ceffdce65458f3b133.tar.xz
iurt-0bc3c7920fb35e22870142ceffdce65458f3b133.zip
Drop check_chroot
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Chroot.pm10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 93b1363..c2a388d 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -20,7 +20,6 @@ our @EXPORT = qw(
remove_chroot
create_chroot
create_build_chroot
- check_chroot
check_build_chroot
);
@@ -414,13 +413,6 @@ sub build_chroot {
sub check_build_chroot {
my ($chroot, $chroot_tar, $run, $config) = @_;
- check_chroot($chroot, $chroot_tar, $run, $config,
- { packages => $config->{basesystem_packages} });
-}
-
-sub check_chroot {
- my ($chroot, $chroot_tar, $run, $config, $opt) = @_;
-
plog('DEBUG', "checking basesystem tar");
my (@stat) = stat $chroot_tar;
@@ -429,7 +421,7 @@ sub check_chroot {
plog('WARN', "chroot tarball too old, force rebuild");
sudo($config, '--rm', '-r', $chroot, $chroot_tar);
}
- create_chroot($chroot, $chroot_tar, $run, $config, $opt);
+ create_build_chroot($chroot, $chroot_tar, $run, $config);
}
1;