summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-07-27 10:00:42 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2023-04-13 15:18:22 +0200
commit208ed9c362e919b57097f94e534cd7312ba56846 (patch)
tree6fe464895fdd92ad6716c906bd7833469cc07e7d /urpm/orphans.pm
parent2dcdca7737e9875dc2b63661cfa793eba00065fe (diff)
downloadurpmi-208ed9c362e919b57097f94e534cd7312ba56846.tar
urpmi-208ed9c362e919b57097f94e534cd7312ba56846.tar.gz
urpmi-208ed9c362e919b57097f94e534cd7312ba56846.tar.bz2
urpmi-208ed9c362e919b57097f94e534cd7312ba56846.tar.xz
urpmi-208ed9c362e919b57097f94e534cd7312ba56846.zip
(_kernel_callback) Describe it more
Diffstat (limited to 'urpm/orphans.pm')
-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) = @_;