From e801a2771cabad3872479e75c83b439d3825b944 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 15 Jun 2020 21:19:23 +0000 Subject: Move the updating of packages later The creation of chroot is a mess with various retries, so do it as late as possible when there is no way something gets changed again. --- lib/Iurt/Chroot.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/Iurt') diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index f0cf512..85b06c4 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -102,11 +102,6 @@ sub clean_and_build_chroot { } } - # We may have media not used to create the chroot (when building for updates_testing - # or if using additional_media) so need to update basesystem packages. - my $urpmi = $run->{urpmi}; - $urpmi->update($chroot); - 1; } -- cgit v1.2.1