From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-725916-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 9420E13877A
	for <garchives@archives.gentoo.org>; Thu, 21 Aug 2014 20:24:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A212BE08A8;
	Thu, 21 Aug 2014 20:24:00 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 506FBE079E
	for <gentoo-commits@lists.gentoo.org>; Thu, 21 Aug 2014 20:24:00 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7A7413401AC
	for <gentoo-commits@lists.gentoo.org>; Thu, 21 Aug 2014 20:23:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D6D1A132D
	for <gentoo-commits@lists.gentoo.org>; Thu, 21 Aug 2014 20:23:57 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1408629194.6be095dec171cda37f04586c1ba265251019987f.mgorny@gentoo>
Subject: [gentoo-commits] dev/mgorny:master commit in: sys-apps/portage/
X-VCS-Repository: dev/mgorny
X-VCS-Files: sys-apps/portage/portage-9999.ebuild
X-VCS-Directories: sys-apps/portage/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 6be095dec171cda37f04586c1ba265251019987f
X-VCS-Branch: master
Date: Thu, 21 Aug 2014 20:23:57 +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
X-Archives-Salt: 85684d88-f6b4-4772-8e50-60dd1c392ffe
X-Archives-Hash: 68c247d095ec21b69807dfc9b17fef7a

commit:     6be095dec171cda37f04586c1ba265251019987f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 21 13:53:14 2014 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 21 13:53:14 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=6be095de

sys-apps/portage: Install /var/empty for rogue import prevention.

Package-Manager: portage-2.2.11_p126

---
 sys-apps/portage/portage-9999.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
index 10bbb32..3fee385 100644
--- a/sys-apps/portage/portage-9999.ebuild
+++ b/sys-apps/portage/portage-9999.ebuild
@@ -191,6 +191,9 @@ python_install_all() {
 
 	# symlink compatibility /usr/lib/portage/bin
 	dosym "${EPYTHON}" /usr/lib/portage/bin
+
+	# used as safe location with no files
+	keepdir /var/empty
 }
 
 pkg_preinst() {