summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--urpm/select.pm3
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a3f47ae4..26799d6c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpme, urpmi:
+ o add basesystem-minimal to prohibit-remove
+
Version 5.2 - 18 January 2008, by Pascal "Pixel" Rigaux
- urpmi:
diff --git a/urpm/select.pm b/urpm/select.pm
index a0201426..0dd8106a 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -453,7 +453,8 @@ sub find_removed_from_basesystem {
my ($urpm, $db, $state, $callback_base) = @_;
if ($callback_base && %{$state->{rejected} || {}}) {
my %basepackages;
- my @dont_remove = ('basesystem', split /,\s*/, $urpm->{global_config}{'prohibit-remove'});
+ my @dont_remove = ('basesystem', 'basesystem-minimal',
+ split /,\s*/, $urpm->{global_config}{'prohibit-remove'});
#- check if a package to be removed is a part of basesystem requires.
$db->traverse_tag('whatprovides', \@dont_remove, sub {
my ($p) = @_;