Gentoo Archives: gentoo-user

From: Bertram Scharpf <lists@×××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Emerge interferes with Git (Was: Wlan disappeared after suspend)
Date: Sat, 17 Sep 2016 13:54:38
Message-Id: 20160917135428.GA8623@becker.bs.l
In Reply to: [gentoo-user] Re: Emerge interferes with Git (Was: Wlan disappeared after suspend) by Kai Krakow
1 On Saturday, 17. Sep 2016, 10:31:17 +0200, Kai Krakow wrote:
2 > Am Tue, 13 Sep 2016 19:49:04 +0200
3 > schrieb Bertram Scharpf <lists@×××××××××××××××.de>:
4 >
5 > > The rfkill make suite looks for a version number and in case
6 > > the work directory is a Git repo it tries to query the
7 > > version number there. Then, it finds the Git repo in
8 > > /usr/portage and fails. Not very friendly!
9 >
10 > You could
11 >
12 > # mount -o bind /usr/portage/tmp /var/tmp/portage
13 >
14 > and then point the portage tmp dir to that directory. From there,
15 > ebuilds cannot see the .git of /usr/portage.
16
17 As long as I do not set GIT_DISCOVERY_ACROSS_FILESYSTEM...
18
19 I decided to add the following line to /etc/portage/make.conf:
20
21 GIT_CEILING_DIRECTORIES="$GIT_CEILING_DIRECTORIES:$PORTAGE_TMPDIR"
22
23 This should be part of the documentation. Where do I best
24 report it?
25
26 Bertram
27
28
29 --
30 Bertram Scharpf
31 Stuttgart, Deutschland/Germany
32 http://www.bertram-scharpf.de

Replies