1 |
Jason Stubbs <jstubbs@g.o> wrote: |
2 |
> When logging is enabled, ebuild output is passed via tee. Running |
3 |
> anything that checks for terminal type inside of pkg_config therefore |
4 |
> doesn't work correctly. This patch disables logging during pkg_config |
5 |
> altogether. |
6 |
|
7 |
There was a thread about this recently, and I'm almost certain that my |
8 |
input was lost in the noise. A cleaner way of accomplishing that is to |
9 |
write the ebuild such that portions which need a terminal either attach |
10 |
to a terminal (`make menuconfig </dev/tty >/dev/tty`) or simply check |
11 |
for a terminal (`tty -s || die "I need a terminal."`). I almost never |
12 |
use the `ebuild ... config` feature, but just on general principle I'd |
13 |
rather the logging capability remain intact. |
14 |
|
15 |
-- |
16 |
Batou: Hey, Major... You ever hear of "human rights"? |
17 |
Kusanagi: I understand the concept, but I've never seen it in action. |
18 |
-- "Ghost in the Shell", Shirow Masamune |