From c239218579fbb213a9d807c92104cd9cc9e56f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Thu, 18 Mar 2010 13:15:48 +0000 Subject: [PATCH] Don't install blacklisted system.base packages on update and new package install --- pisi/operations/upgrade.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pisi/operations/upgrade.py b/pisi/operations/upgrade.py index c4420fa4..85a39798 100644 --- a/pisi/operations/upgrade.py +++ b/pisi/operations/upgrade.py @@ -276,6 +276,7 @@ def upgrade_base(A = set()): if componentdb.has_component('system.base'): systembase = set(componentdb.get_union_component('system.base').packages) extra_installs = filter(lambda x: not installdb.has_package(x), systembase - set(A)) + extra_installs = pisi.blacklist.exclude_from(extra_installs, ctx.const.blacklist) if extra_installs: ctx.ui.warning(_('Safety switch: Following packages in system.base will be installed: ') + util.strlist(extra_installs))