summaryrefslogtreecommitdiffstats
path: root/bin/emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-22 06:38:42 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-22 06:38:42 +0000
commit50504a0b7e15ecd7345880137478b12ae77f9dd0 (patch)
treeaed3d8dfc40544d5f1d014287f97c6aa42386fc0 /bin/emerge
parent5124590574eee1654ab4c0c49c3e739f7e1675bd (diff)
downloadportage-50504a0b7e15ecd7345880137478b12ae77f9dd0.tar.gz
portage-50504a0b7e15ecd7345880137478b12ae77f9dd0.tar.bz2
portage-50504a0b7e15ecd7345880137478b12ae77f9dd0.zip
Make --prune pull in the system set since that could pull in some slots that wouldn't be pulled in otherwise. (trunk r7343)
svn path=/main/branches/2.1.2/; revision=7346
Diffstat (limited to 'bin/emerge')
-rwxr-xr-xbin/emerge3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 518872475..f3952ea59 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -5326,6 +5326,9 @@ def action_depclean(settings, trees, ldpath_mtimes,
if vardb.match(atom):
remaining_atoms.append((atom, 'system', hard))
elif action == "prune":
+ for atom in syslist:
+ if vardb.match(atom):
+ remaining_atoms.append((atom, 'system', hard))
# Pull in everything that's installed since we don't want to prune a
# package if something depends on it.
remaining_atoms.extend((atom, 'world', hard) for atom in vardb.cp_all())