diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-07-27 10:00:42 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2023-04-13 15:18:22 +0200 |
commit | 208ed9c362e919b57097f94e534cd7312ba56846 (patch) | |
tree | 6fe464895fdd92ad6716c906bd7833469cc07e7d | |
parent | 2dcdca7737e9875dc2b63661cfa793eba00065fe (diff) | |
download | urpmi-208ed9c362e919b57097f94e534cd7312ba56846.tar urpmi-208ed9c362e919b57097f94e534cd7312ba56846.tar.gz urpmi-208ed9c362e919b57097f94e534cd7312ba56846.tar.bz2 urpmi-208ed9c362e919b57097f94e534cd7312ba56846.tar.xz urpmi-208ed9c362e919b57097f94e534cd7312ba56846.zip |
(_kernel_callback) Describe it more
-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) = @_; |