From 8008f0d9cce4a86e9ee4a157034e7fc1dc441584 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 15 Oct 2017 06:14:33 +0200 Subject: fix checking if chroot needs updating commit a1e34113fcb9538ad8a29eec80075dff04253068 wrongly made check_chroot_need_update() to always return 0, thus skipping all tests... This makde build system using old chroots, thus breaking some package builds --- lib/Iurt/Chroot.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/Iurt') diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 4b14e1f..480fae4 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -272,7 +272,6 @@ sub check_mounted { sub check_chroot_need_update { my ($tmp_chroot, $run) = @_; - return 0; my $tmp_urpmi = mktemp("$tmp_chroot/tmp.XXXXXX"); mkdir_p("$tmp_urpmi/tmp"); my @installed_pkgs = grep { !/^gpg-pubkey/ } chomp_(cat_("$tmp_chroot/var/log/qa")); -- cgit v1.2.1