summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-09-04 11:37:29 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-09-04 11:37:29 +0000
commit7795f1d8d3913209395ac26cd729720bb8b25ac8 (patch)
tree60419b7ec147ad4e869f967792b59ac13d1ba35e
parente82b57d1d2ad3bffceb7de526d6f30f389d19039 (diff)
downloadurpmi-7795f1d8d3913209395ac26cd729720bb8b25ac8.tar
urpmi-7795f1d8d3913209395ac26cd729720bb8b25ac8.tar.gz
urpmi-7795f1d8d3913209395ac26cd729720bb8b25ac8.tar.bz2
urpmi-7795f1d8d3913209395ac26cd729720bb8b25ac8.tar.xz
urpmi-7795f1d8d3913209395ac26cd729720bb8b25ac8.zip
exclude kernel-source from orphan processing (#53426)
-rw-r--r--NEWS2
-rw-r--r--urpm/orphans.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 8a8d3d43..0350de00 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- exclude kernel-source from orphan processing (#53426)
+
Version 6.28.1 - 3 September 2009
- prevent creating empty "/url" (#53097)
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index ce4cac8c..c88c6fc3 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -320,7 +320,7 @@ sub _kernel_callback {
return if $shortname !~ /^kernel-/;
# only consider real kernels (and not kernel-doc and the like):
- return if $shortname =~ /-(?:doc|headers|firmware(?:|-extra))$/;
+ return if $shortname =~ /-(?:source|doc|headers|firmware(?:|-extra))$/;
# keep track of latest kernels in order not to try removing requested kernels:
if ($n =~ /latest/) {