diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/orphans.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm index e1d900a6..f27bc610 100644 --- a/urpm/orphans.pm +++ b/urpm/orphans.pm @@ -430,7 +430,7 @@ _fast_ version w/o looking at all non kernel packages requires on kernels (like "urpmi_find_leaves '^kernel'" would) _all_unrequested_orphans blacklists nearly all kernels b/c of packages -like 'ndiswrapper' or 'basesystem' that requires 'kernel' +like 'ndiswrapper' or 'basesystem' that requires 'kernel' (on mga < 9) rationale: other packages only require 'kernel' or a sub package we do not care about (eg: kernel-devel, kernel-firmware, kernel-latest) @@ -438,6 +438,9 @@ so it's useless to look at them =cut +# @req_by_latest_kernels tracks kernels needed by kernel*-latest +# %requested_kernels tracks which pkgs requires which kernel pkg +# %kernels tracks !"*-latest" kernels (to be later filtered) my (@req_by_latest_kernels, %requested_kernels, %kernels); sub _kernel_callback { my ($pkg, $unreq_list) = @_; |