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 6D10713877A for ; Sun, 6 Jul 2014 19:23:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A592CE0833; Sun, 6 Jul 2014 19:23:32 +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 1168BE0831 for ; Sun, 6 Jul 2014 19:23:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DEF1833F909 for ; Sun, 6 Jul 2014 19:23:30 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.239 X-Spam-Level: X-Spam-Status: No, score=-1.239 tagged_above=-999 required=5.5 tests=[AWL=-1.793, MISSING_HEADERS=1.207, RP_MATCHES_RCVD=-0.652, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C5vmqnI-ujeB for ; Sun, 6 Jul 2014 19:23:25 +0000 (UTC) Received: from gw1.transmode.se (gw1.transmode.se [195.58.98.146]) by smtp.gentoo.org (Postfix) with ESMTP id C21E233F8F9 for ; Sun, 6 Jul 2014 19:23:20 +0000 (UTC) Received: from mail1.transmode.se (mail1.transmode.se [192.168.201.18]) by gw1.transmode.se (Postfix) with ESMTP id 027294841F1 for ; Sun, 6 Jul 2014 21:23:19 +0200 (CEST) In-Reply-To: <1393783400-2079-1-git-send-email-Joakim.Tjernlund@transmode.se> References: <1393783400-2079-1-git-send-email-Joakim.Tjernlund@transmode.se> Cc: gentoo-embedded@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Subject: [gentoo-embedded] Re: [PATCH] Remove fakeroot from cross-emerge X-KeepSent: 0D59D2C9:6DB9969D-C1257D0D:006A774C; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011 From: Joakim Tjernlund Message-ID: Date: Sun, 6 Jul 2014 21:23:18 +0200 X-MIMETrack: Serialize by Router on mail1/Transmode(Release 8.5.3FP6|November 21, 2013) at 06/07/2014 21:23:18, Serialize complete at 06/07/2014 21:23:18 Content-Type: text/plain; charset="US-ASCII" X-Archives-Salt: 9a03e7ad-80e7-47da-a7e0-3e24a87ab98a X-Archives-Hash: 9a4226e053b2647f2f12ece016b1a9c7 Ping? Joakim Tjernlund wrote on 2014/03/02 19:03:20: > From: Joakim Tjernlund > To: gentoo-embedded@gentoo.org, > Cc: Joakim Tjernlund > Date: 2014/03/02 19:03 > Subject: [PATCH] Remove fakeroot from cross-emerge > > Portage is not designed to run wrapped in fakeroot. Instead > one should set FEATURES="fakeroot". Wrapping emerge with > fakeroot triggers emerge to disable fakeroot. > See bug https://bugs.gentoo.org/show_bug.cgi?id=489016 > > Signed-off-by: Joakim Tjernlund > --- > 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} "$@" > -- > 1.8.3.2 >