aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt')
-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;