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 --- NEWS | 2 ++ lib/Iurt/Chroot.pm | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index eac421b..caff02b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- iurt: fix checking if chroot needs updating + 0.7.4 - iurt: fix getting package name from src.rpm name 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