diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-12-10 20:50:42 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-12-10 20:50:42 +0000 |
commit | c24757c923841de1901501b227d1411eafefc4e4 (patch) | |
tree | 61022c6dfb5831a6cdb7946544aef5cc0683416e /lib/Iurt/DKMS.pm | |
parent | 80a8c36ba24372b0dcf0b893228e72f7e69940fd (diff) | |
download | iurt-c24757c923841de1901501b227d1411eafefc4e4.tar iurt-c24757c923841de1901501b227d1411eafefc4e4.tar.gz iurt-c24757c923841de1901501b227d1411eafefc4e4.tar.bz2 iurt-c24757c923841de1901501b227d1411eafefc4e4.tar.xz iurt-c24757c923841de1901501b227d1411eafefc4e4.zip |
Get rid of cache
Diffstat (limited to 'lib/Iurt/DKMS.pm')
-rw-r--r-- | lib/Iurt/DKMS.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Iurt/DKMS.pm b/lib/Iurt/DKMS.pm index 82bcdc3..d7d6d2f 100644 --- a/lib/Iurt/DKMS.pm +++ b/lib/Iurt/DKMS.pm @@ -4,7 +4,7 @@ use strict; use base qw(Exporter); use MDV::Distribconf::Build; use Iurt::Chroot qw(clean_and_build_chroot add_local_user dump_rpmmacros); -use Iurt::Config qw(get_maint get_prefix dump_cache); +use Iurt::Config qw(get_maint get_prefix); use Iurt::Mail qw(sendmail); use File::NCopy qw(copy); use Iurt::Process qw(sudo); @@ -120,7 +120,7 @@ sub search_dkms { foreach my $k (@kernel) { my ($kernel, $modulesdir) = @$k; plog("checking $realmodule-kernel-$modulesdir-$realversion"); - next if $cache->{dkms}{"$realmodule-kernel-$modulesdir-$realversion"} && !$run->{ignore_failure}; + next if $cache->{dkms}{"$realmodule-kernel-$modulesdir-$realversion"}; if (!$modules{$realmodule}{$realversion}{$modulesdir}) { my (@choices); if (my ($prefix, $v) = $kernel =~ /^(.*?-?)(2\..*)/) { @@ -293,7 +293,6 @@ sub dkms_compile { process_dkms_queue($self, 0, 0, $media, "$dkms_spool/$media"); # compile dkms modules } - dump_cache($run); $done; } # FIXME will replace the iurt process_qeue when youri-queue is active |