aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt')
-rw-r--r--lib/Iurt/DKMS.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Iurt/DKMS.pm b/lib/Iurt/DKMS.pm
index 201e883..39a3319 100644
--- a/lib/Iurt/DKMS.pm
+++ b/lib/Iurt/DKMS.pm
@@ -61,6 +61,7 @@ sub search_dkms {
my %modules;
my %kernel_source;
foreach my $media ($distrib->listmedia) {
+ $distrib->getvalue($media, "arch") ne $arch and next;
$media =~ /(SRPMS|debug_)/ and next;
my $path = $distrib->getfullpath($media, 'path');
my $media_ok = $run->{dkms}{media} ? $media =~ /$run->{dkms}{media}/ : 1;