summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/orphans.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index ae6b1f71..e056d105 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -372,7 +372,7 @@ sub _kernel_callback {
# only consider kernels (and not main 'kernel' package):
# but perform a pass on their requires for dkms like packages that require a specific kernel:
if ($shortname !~ /kernel-/) {
- foreach (grep { /kernel/ } $pkg->requires) {
+ foreach (grep { /kernel/ } $pkg->requires_nosense) {
$requested_kernels{$_}{$shortname} = $pkg;
}
return;