diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-05-26 22:22:44 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-05-26 22:22:44 +0000 |
commit | 08154ddc2f25023cb8673b068a5915cfda653080 (patch) | |
tree | 5dc3907a851cc552cd012cf0ec4a1de158cfd0c6 /lib/Iurt/DKMS.pm | |
parent | c845d0a260ad5693b9afece4ae83b37ed4e58201 (diff) | |
download | iurt-08154ddc2f25023cb8673b068a5915cfda653080.tar iurt-08154ddc2f25023cb8673b068a5915cfda653080.tar.gz iurt-08154ddc2f25023cb8673b068a5915cfda653080.tar.bz2 iurt-08154ddc2f25023cb8673b068a5915cfda653080.tar.xz iurt-08154ddc2f25023cb8673b068a5915cfda653080.zip |
do not guess built modules from media with different arch (i.e. do not use i586 media from x86_64 media.cfg)
Diffstat (limited to 'lib/Iurt/DKMS.pm')
-rw-r--r-- | lib/Iurt/DKMS.pm | 1 |
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; |