From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Cc: gentoo-embedded@lists.gentoo.org
Subject: [gentoo-embedded] Re: [PATCH] Remove fakeroot from cross-emerge
Date: Sun, 6 Jul 2014 21:23:18 +0200 [thread overview]
Message-ID: <OF0D59D2C9.6DB9969D-ONC1257D0D.006A774C-C1257D0D.006A8128@transmode.se> (raw)
In-Reply-To: <1393783400-2079-1-git-send-email-Joakim.Tjernlund@transmode.se>
Ping?
Joakim Tjernlund <Joakim.Tjernlund@transmode.se> wrote on 2014/03/02
19:03:20:
> From: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
> To: gentoo-embedded@gentoo.org,
> Cc: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
> 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 <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} "$@"
> --
> 1.8.3.2
>
prev parent reply other threads:[~2014-07-06 19:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-02 18:03 [gentoo-embedded] [PATCH] Remove fakeroot from cross-emerge Joakim Tjernlund
2014-07-06 19:23 ` Joakim Tjernlund [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OF0D59D2C9.6DB9969D-ONC1257D0D.006A774C-C1257D0D.006A8128@transmode.se \
--to=joakim.tjernlund@transmode.se \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox