summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-07-27 10:00:42 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2022-12-10 14:15:07 +0100
commit680e4b35b1aa7c447aff0f8ddb25944d444de051 (patch)
tree12b63d08135cb2961ea1128aec9d9b3332fcf031 /urpm
parent1259792635bec43231981108fd295a5dd7e9155b (diff)
downloadurpmi-680e4b35b1aa7c447aff0f8ddb25944d444de051.tar
urpmi-680e4b35b1aa7c447aff0f8ddb25944d444de051.tar.gz
urpmi-680e4b35b1aa7c447aff0f8ddb25944d444de051.tar.bz2
urpmi-680e4b35b1aa7c447aff0f8ddb25944d444de051.tar.xz
urpmi-680e4b35b1aa7c447aff0f8ddb25944d444de051.zip
(_kernel_callback) Describe it more
Diffstat (limited to 'urpm')
-rw-r--r--urpm/orphans.pm5
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) = @_;