diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-10-15 06:14:33 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-10-15 06:16:37 +0200 |
commit | 8008f0d9cce4a86e9ee4a157034e7fc1dc441584 (patch) | |
tree | 99f0c7f59fadd04eac991ff96eae8e30f2e81a52 /lib/Iurt | |
parent | d9ec121f85de3877a5d25a10435f4ccc1d34cf6e (diff) | |
download | iurt-8008f0d9cce4a86e9ee4a157034e7fc1dc441584.tar iurt-8008f0d9cce4a86e9ee4a157034e7fc1dc441584.tar.gz iurt-8008f0d9cce4a86e9ee4a157034e7fc1dc441584.tar.bz2 iurt-8008f0d9cce4a86e9ee4a157034e7fc1dc441584.tar.xz iurt-8008f0d9cce4a86e9ee4a157034e7fc1dc441584.zip |
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
Diffstat (limited to 'lib/Iurt')
-rw-r--r-- | lib/Iurt/Chroot.pm | 1 |
1 files changed, 0 insertions, 1 deletions
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")); |