From 44be121fe222b858036acdf3f989860ed91b6e1a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 4 Apr 2012 23:03:48 +0000 Subject: (check_chroot_need_update) drop unused 'config' parameter (spot by perl_checker) --- lib/Iurt/Chroot.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Iurt') diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 32232a3..870d54f 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -260,7 +260,7 @@ sub create_build_chroot { } sub check_chroot_need_update { - my ($tmp_chroot, $run, $config) = @_; + my ($tmp_chroot, $run) = @_; my @installed_pkgs = grep { !/^gpg-pubkey/ } chomp_(cat_("$tmp_chroot/var/log/qa")); my @available_pkgs = chomp_(`urpmq --use-distrib $run->{urpmi}{distrib_url} --list -f 2>/dev/null`); @@ -300,7 +300,7 @@ sub create_chroot { } else { plog('DEBUG', "decompressing /var/log/qa from $chroot_tar in $tmp_chroot"); sudo($config, '--untar', $chroot_tar, $tmp_chroot, "./var/log/qa"); - $rebuild = check_chroot_need_update($tmp_chroot, $run, $config); + $rebuild = check_chroot_need_update($tmp_chroot, $run); } if ($rebuild) { -- cgit v1.2.1