From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3007B13838B for ; Thu, 18 Sep 2014 16:52:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B855E0AB8; Thu, 18 Sep 2014 16:52:42 +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 38A63E0AB8 for ; Thu, 18 Sep 2014 16:52:42 +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 5F01433EFCC for ; Thu, 18 Sep 2014 16:52:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 161155E62 for ; Thu, 18 Sep 2014 16:52:40 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1411059103.56b32e1a3c5da6c3a39270840a8bc99fe321227d.vapier@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: wrappers/ X-VCS-Repository: proj/crossdev X-VCS-Files: wrappers/cross-emerge X-VCS-Directories: wrappers/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 56b32e1a3c5da6c3a39270840a8bc99fe321227d X-VCS-Branch: master Date: Thu, 18 Sep 2014 16:52:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5cdeb7af-ecca-4c33-8ad1-4a64a03badd1 X-Archives-Hash: 9baa8194faaad462edc3cddf166fbdd3 commit: 56b32e1a3c5da6c3a39270840a8bc99fe321227d Author: Joakim Tjernlund transmode se> AuthorDate: Sun Mar 2 17:56:49 2014 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Sep 18 16:51:43 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/crossdev.git;a=commit;h=56b32e1a cross-emerge: drop automatic fakeroot usage Portage is not designed to run wrapped in fakeroot. Instead one should set FEATURES="fakeroot". Wrapping emerge with fakeroot triggers emerge to disable fakeroot. URL: https://bugs.gentoo.org/489016 URL: https://bugs.gentoo.org/523098 Signed-off-by: Joakim Tjernlund transmode.se> --- wrappers/cross-emerge | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/wrappers/cross-emerge b/wrappers/cross-emerge index 7af770b..0ea38e3 100755 --- a/wrappers/cross-emerge +++ b/wrappers/cross-emerge @@ -30,10 +30,5 @@ eval $(env $(printf -- '-u %s ' ${clean_vars}) \ : ${BUILD_CPPFLAGS=${_E_CPPFLAGS}} export CBUILD BUILD_CFLAGS BUILD_CXXFLAGS BUILD_CPPFLAGS -FAKEROOT= -if [ $(id -u) -ne 0 ] ; then - type -P fakeroot >/dev/null && FAKEROOT=fakeroot -fi - : ${CROSS_CMD:=emerge --root-deps=rdeps} -exec ${FAKEROOT} ${CROSS_CMD} "$@" +exec ${CROSS_CMD} "$@"