Change our unmerge from being a single unmerge to a loop, to work around an unexpecte...
authorChris Gianelloni <wolf31o2@gentoo.org>
Tue, 20 Jun 2006 19:32:31 +0000 (19:32 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Tue, 20 Jun 2006 19:32:31 +0000 (19:32 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1150 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/unmerge.sh

index 505b4b480107a29204162c62a7d01b089142d635..4fc7fe7af1c5fcf37b36440718041e5ff5507b0a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.634 2006/06/19 19:05:02 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.635 2006/06/20 19:32:31 wolf31o2 Exp $
+
+  20 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+  targets/support/unmerge.sh:
+  Change our unmerge from being a single unmerge to a loop, to work around an
+  unexpected change in portage 2.1's unmerge processing.
 
   19 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org>
   targets/support/bootloader-setup.sh:
index 345c551a5290a24bfcd418b598f07c875eb047af..9af378ad360b2accb689377ac74bcdb793326ed5 100644 (file)
@@ -1,11 +1,19 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/unmerge.sh,v 1.3 2005/12/19 16:52:01 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/unmerge.sh,v 1.4 2006/06/20 19:32:31 wolf31o2 Exp $
 
 
 source /tmp/chroot-functions.sh
 
 update_env_settings
 
-run_emerge -C "${clst_packages}"
+# Add a fun loop, so we have to init portage every single time, causing it to
+# run much slower to work around unexpected changes in portage 2.1 with respect
+# to how it processes unmerge for non-existent packages.  A word to other
+# developers out there.  Don't change behavior that people rely on without
+# documenting the change.  It really sucks when you do.
+for package in ${clst_packages}
+do
+       run_emerge -C "${package}"
+done
 exit 0