From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-324332-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1PxtsU-0002kh-Qe
	for garchives@archives.gentoo.org; Fri, 11 Mar 2011 04:23:03 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3E6AEE0671;
	Fri, 11 Mar 2011 04:22:46 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 092A4E061F
	for <gentoo-commits@lists.gentoo.org>; Fri, 11 Mar 2011 04:22:45 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 92EAE1B4069
	for <gentoo-commits@lists.gentoo.org>; Fri, 11 Mar 2011 04:22:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id E96668006A
	for <gentoo-commits@lists.gentoo.org>; Fri, 11 Mar 2011 04:22:44 +0000 (UTC)
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" <vapier@gentoo.org>
Message-ID: <5ff69347681dee9ce6f76cf91671cdcab56bfe6b.vapier@gentoo>
Subject: [gentoo-commits] proj/crossdev:master commit in: /
X-VCS-Repository: proj/crossdev
X-VCS-Files: crossdev
X-VCS-Directories: /
X-VCS-Committer: vapier
X-VCS-Committer-Name: Mike Frysinger
X-VCS-Revision: 5ff69347681dee9ce6f76cf91671cdcab56bfe6b
Date: Fri, 11 Mar 2011 04:22:44 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 704047583c462204a07dfa24f38a3a16

commit:     5ff69347681dee9ce6f76cf91671cdcab56bfe6b
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 11 04:21:33 2011 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Mar 11 04:21:33 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/crossdev.git;=
a=3Dcommit;h=3D5ff69347

crossdev: auto mask sysroot from revdep-rebuild

URL: http://bugs.gentoo.org/182601
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

---
 crossdev |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/crossdev b/crossdev
index 1954331..1f693cc 100755
--- a/crossdev
+++ b/crossdev
@@ -1,5 +1,5 @@
 #!/bin/bash
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
=20
 CROSSDEV_VER=3D"@CDEVPV@"
@@ -281,6 +281,8 @@ uninstall() {
 	done
 	rm -rf "${CONFIGROOT}"/env/cross-${CTARGET}
 	rmdir "${CONFIGROOT}"/env 2>/dev/null
+	rm -f /etc/revdep-rebuild/05cross-${CTARGET}
+	rmdir /etc/revdep-rebuild 2>/dev/null
=20
 	rmdir /var/db/pkg/cross-${CTARGET} 2>/dev/null
 	if [[ -d /var/db/pkg/cross-${CTARGET} ]] ; then
@@ -675,6 +677,10 @@ set_portage ${LCAT} ${LPKG} ${LVER} "${LENV}"
 set_portage sys-devel gdb
 set_portage dev-util insight
=20
+# filter out revdep rebuild stuff #182601
+mkdir -p /etc/revdep-rebuild
+echo "SEARCH_DIRS_MASK=3D/usr/${CTARGET}" > /etc/revdep-rebuild/05cross-=
${CTARGET}
+
 #######################################
 ### Create links for helper scripts ###
=20