summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--urpm/select.pm6
2 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 06f2dfbc..c30a102d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- add infrastructure so that gurpmi & rpmdrake can handle priority
+ upgrade list
+
Version 5.7 - 3 March 2008, by Pascal "Pixel" Rigaux
- all tools:
diff --git a/urpm/select.pm b/urpm/select.pm
index 320fb445..291180af 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -9,6 +9,12 @@ use URPM;
my $default_list = 'rpm,perl-URPM,perl-MDV-Distribconf,urpmi,meta-task,glibc';
+sub add_packages_to_priority_upgrade_list {
+ my (@packages) = @_;
+ return if !@packages;
+ $default_list .= join(',', '', @packages);
+}
+
sub set_priority_upgrade_option {
my ($urpm, $previous) = @_;